diff options
author | Frederick Yin <fkfd@fkfd.me> | 2023-01-08 17:28:11 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@fkfd.me> | 2023-01-08 17:28:11 +0800 |
commit | ec0654bf0ca057affb37a20ed0588a907e71130f (patch) | |
tree | 41fe6b5dc1cb5b579d4d728d07a72bdf0a5f683d /Main.hs | |
parent | d82c464c395887afd5ed7d143d486e614e91ee26 (diff) |
Game ends when player sheds all cards
Diffstat (limited to 'Main.hs')
-rw-r--r-- | Main.hs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -10,7 +10,7 @@ import Game (Game(..), discardPile, prompt, dealCards, - nextTurn, + nextRound, ) import Player (Player(..)) import qualified Player as P @@ -34,5 +34,5 @@ main = do , discardPile = discard } - nextTurn $ dealCards 6 game + nextRound 1 $ dealCards 1 game print () |