Giter Club home page Giter Club logo

consolitaire's Introduction

yo!

i'm seth, but i go by sandwichman online. i like low-level programming, computer/processor architecture, and compilers. I mainly use C, although I have experience in odin, java, and python.

i'm the lead developer of orbit systems, a developer group focused on learning through doing. we work on the aphelion cpu architecture and projects that surround and support it, such as its emulator, its assembler, and the mars programming language.

i also create digital art and graphic design as technichron over at technichronart.com.

consolitaire's People

Contributors

spsandwichman avatar

Stargazers

 avatar  avatar

Watchers

 avatar

consolitaire's Issues

[ENHANCMENT] Auto-place selected card to suit stack

Description

Add a feature that auto-places the current selected card into the next
free slot in the suit stack ( if ace โ™  ) then remaining suit cards can follow after.

Suggestion for implementation:

Possibly use F or C or another adjacent keyboard control for it?

Concept Diagram

HIGHLIGHTED IN - GREEN

image

[BUG + CRASH] Possible to pull multiple cards from stack and make illegal moves

Description

When you hover over more than one card, drawing a card from the stack retains the previous card hover amount instead
of reverting to one card. This causes crashes with fatal index errors if the hover amount is greater than 1 / 2 cards in the
stack that are shown.

Additionally, if you take from the stack with an overflowing outline greater than 1 card and no crash occurs, the amount of
cards the outline previously represented is then taken from the stack and can be placed illegally if the top card in the held stack
would be allowed to be placed if it were solo. This then creates impossible card stacks that behave like a normal stack would until
the stack is altered in some way, then card placement rules still apply.

Bug Diagram:

I've illustrated below a possible visual implementation of what this could look like (not strictly required).
image

Crash Example

If the card selector amount is greater than the stack cards, it causes a fatal index error.

image
image

[ENHANCEMENT] Undo Function

Description

Add undo functionality for users to revert previous moves, should they make a mistake.

Suggestion for implementation:

I've illustrated below a possible visual implementation of what this could look like (not strictly required).

When the user initiates an "undo move", revert a step back and highlight in green where the change happened to
clearly show what changed. Then you could remove the green outline as soon as the user moves their selector.

Screenshot

HIGHLIGHTED IN - GREEN

(NOTE: The outline extends beyond the scope of just one card to show how many cards were reverted)

image

[ENHANCEMENT] Random seed implementation

Description

Add random seeding when initializing the card decks to allow for deterministic and re-playable games.

Suggestion for implementation:

Enable either a permanent or toggle-able text display of the seed in perhaps one of the bottom corners when a game
is generated. Also, depending on how the seed is composed( Numbers / Hex / Text / All 3 ), perhaps make it possible to
enter a seed to allow for re-playable games using a relatively user-friendly format to make it easy to share with others.

Screenshot

HIGHLIGHTED IN - GREEN

(NOTE: The seed display can be whatever colour, just highlighting where it could possibly be placed)

image

[BUG] Visual bug for invalid move over stock cards

Description

There is a visual bug that makes it possible to appear that placing a currently held card into
the stock indicator slot is possible despite not being possible to actually place the card there.

Screenshot

image

[BUG] Cards can clip into text and out of bounds

Description

There is a visual bug that causes stacked cards to clip into the bottom text and the bounds of the terminal window.
This becomes especially extreme and apparent when large stacks are moved other other large stacks of cards.

Possible Fix?

Whether this is an elegant fix or not, it could be worth investigating. Perhaps have it so the window expands sufficiently
for existing stacked cards to not clip. Additionally, when handling cards after picking them up, expand the window for all
the cards to fit over the biggest stack and then resume the original required window size once the cards have been placed.

Screenshot

image

[ENHANCEMENT] Add a win state display

Updated: Included ASCII text file

Description

Add a YOU WIN or similar win / completion state that displays
below the decks for when the user has all 4 suit stacks filled.

Suggestion for implementation:

I've included an example ASCII art text file HERE should you wish to use it.

Concept Diagram

HIGHLIGHTED IN - GREEN

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.