summaryrefslogtreecommitdiff
path: root/csol.c
diff options
context:
space:
mode:
Diffstat (limited to 'csol.c')
-rw-r--r--csol.c22
1 files changed, 17 insertions, 5 deletions
diff --git a/csol.c b/csol.c
index 1abfcc9..e417b39 100644
--- a/csol.c
+++ b/csol.c
@@ -48,12 +48,16 @@ int main(int argc, char *argv[])
while(!quit)
{
+ int row = 3;
+
erase();
Centre(1, "CURSES solitaire");
- Centre(3, "1 .. Klondike (draw three)");
- Centre(4, "2 .. Klondike (draw one)");
- Centre(5, "Q .. Quit");
+ Centre(row++, "1 ............. Klondike (draw three)");
+ Centre(row++, "2 ............... Klondike (draw one)");
+ Centre(row++, "3 .. Thoughtful Klondike (draw three)");
+ Centre(row++, "4 .... Thoughtful Klondike (draw one)");
+ Centre(row++, "Q .............................. Quit");
key = getch();
@@ -61,11 +65,19 @@ int main(int argc, char *argv[])
{
case '1':
erase();
- Klondike(3);
+ Klondike(3, FALSE);
break;
case '2':
erase();
- Klondike(1);
+ Klondike(1, FALSE);
+ break;
+ case '3':
+ erase();
+ Klondike(3, TRUE);
+ break;
+ case '4':
+ erase();
+ Klondike(1, TRUE);
break;
case 'q':
case 'Q':