diff options
Diffstat (limited to 'klondike.c')
-rw-r--r-- | klondike.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -164,7 +164,7 @@ static void KlondikeHelp(void) while(getch() != ' '); } -void Klondike(int draw, int thoughtful) +int Klondike(int draw, int thoughtful) { Deck deck; Pile pile = {0}; @@ -510,6 +510,8 @@ void Klondike(int draw, int thoughtful) FreePile(&column_down[f]); FreePile(&column_up[f]); } + + return won; } |