diff options
author | Ian C <ianc@noddybox.co.uk> | 2022-01-02 20:27:23 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2022-01-02 20:27:23 +0000 |
commit | 7c3241630d4a33c419703c523976fc0cc29d7063 (patch) | |
tree | d026eac969e795a125fe713d7737e26db7c03206 | |
parent | deb68bff30f081b18bc06257aafb23eb28da4b50 (diff) |
Moved auto fill to a key of its own.
-rw-r--r-- | klondike.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -137,7 +137,9 @@ static void KlondikeHelp(void) "", "Use 'P' to put the current card on the suits piles.", "If invalid it will attempt to move the card from the drawn pile.", - "If the cards are all shown this will automatically finish the puzzle.", + "", + "Use 'A' if all the cards are shown and there is nothing on the pile", + "to automatically finish the puzzle.", "", "Press '1', '2', '3' or '4' to move the top card from the hearts, ", "diamonds, spades or clubs suit pile respectively back onto the board.", @@ -145,7 +147,6 @@ static void KlondikeHelp(void) "Press 'Q' to quit. You'll be asked if you want to see the cards", "if not playing a thoughtful game.", "", - "", "Press SPACE to continue.", NULL }; @@ -335,7 +336,10 @@ int Klondike(int draw, int thoughtful) PutCardOnSuitPile(&turned, &hearts, &diamonds, &spades, &clubs); } + break; + case 'A': + case 'a': if (pile.no == 0 && turned.no == 0) { autofill = TRUE; |