A simple Solitaire game built using the ggez Rust library
A graphical replacement for the difficulty selector at the start of the game which currently waits the user to type "easy" or "hard" in the console.
Solitaire is played with a standard deck of 52 cards. There are 7 ordinary piles, 1 deck, 1 discard pile, and 4 final piles. Initially there will be 1 card in the first pile, 2 cards in the second pile, 3 cards in the third pile, etc. and only the top card of each pile will be face-up.
You can move cards to another pile by following these rules:
- The card you are trying to move needs to be exactly 1 rank lower and of different color than the card you are moving it onto.
- If the destination pile is empty, only a King can be put there (There are no limitations regarding the color and the suit of the King in this case).
- You can also move subpiles1 if the card at the bottom of the subpile can be moved according to the rules described above.
Keep in mind that only face-up cards can be moved!
The goal is to move all cards to the four final piles. Note that each final pile corresponds to a specific suit and that cards need to be arranged in ascending order2.
