diff options
-rw-r--r-- | README | 31 | ||||
-rw-r--r-- | csol.c | 3 |
2 files changed, 34 insertions, 0 deletions
@@ -0,0 +1,31 @@ +Building +-------- + +Simply type make on a UNIX system with a working CURSES library. The termcap +library may need adding on some systems. + +Playing +------- + +On starting you'll get a menu with a choice of Klondike games or to quit. + +On starting a game of Klondike, the following applies + + * Use the cursor keys to move the cursor around. + + * Press RETURN to select a bunch of cards to move. Press RETURN again + when you are where you want to move the cards. + + * Use space to draw the next set of cards. + + * Use 'S' to move a card from the drawn cards to the current column. + + * Use 'P' to put the current card on the suits piles. If invalid it + will attempt to move the card from the drawn pile. + + * 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. + + * Press 'Q' to quit. + +The '?' key can be used to get help at anytime. @@ -381,6 +381,9 @@ static int CanCardSitOnTop(Card card, Card on) case Diamond: ret = (on.suit == Spade || on.suit == Club); break; + + case NoSuit: + break; } } } |