A CLI for solitaire (Klondike).
- The usages are of the form
solitaire <command> - Use
solitairewith no command to see available commands.
- Install ghcup which will furnish you with
stackand a version ofghc. - Install appropriate versions of
ghcandstackaccording to the project files. - Run
stack installto copy thesolitaireexecutable to local-bin. - From here you can either append the executable to your path or choose to include the local-bin in your path.
-C||**|**|**|**|**|**|AC
-S||**|**|**|**|**|3H
-H||**|**|**|**|4D
-D||**|**|**|XH
||**|**|3D
**||**|5C
**||9C
**Represents a card with hidden state a.k.a. a face down card.-CRepresents an empty foundation for the club suit.
CclubSspadeHheartDDiamond
The numeric ranks are just the number except 10.
X10AAceJJackQQueenKKing