Game two – One-Handed Solitaire
This is the second of two games we will implement using our pre-built collection of structures and functions from dealer.c
. We will have a complete and playable One-Handed Solitaire card game that's playable by a single player.
When people used to kill time by playing cards with an actual deck of cards, they would often play one form of solitaire or another. After playing for a while, they would find that the deck was not always adequately shuffled, especially after a game progressed fairly far and there were definite patterns in the unshuffled cards. So, another type of solitaire game would be played to mix up the deck sufficiently so that the deck could again be effectively shuffled. One-Handed Solitaire is one of those games. I must admit that it is not a particularly challenging or complex game.
For our book’s purposes, it is a fairly easy game to implement, which we will do using dealer.c
structures and functions.