aboutsummaryrefslogtreecommitdiff

Solitaire game

This solitaire game has the same rules as the one that comes with the Shenzhen I/O game.

Key bindings

Press N for a new game or Q to quit.

Rules

Normal solitaire rules apply. The three spaces in the top left are a "scratch" area; any single card can be placed in any space.

Numbered cards can only be stacked in descending order with adjacent colours not being the same (i.e. no green 8 on a green 9).

The # cards cannot be stacked onto anything, but if all four are exposed at the same time (i.e. they could be picked up by the player), and any one scratch space is free, the button with the same colour lights up. Press it to fold all # cards of that colour onto one scratch space (which cannot be used subsequently).

Numbered cards are discarded automatically when exposed, lowest first, but in sequence, so that you always have a card to stack others onto.

The @ card is discarded once exposed. It only serves to block any stack in the initial hands from being moved.