diff options
author | Frederick Yin <fkfd@fkfd.me> | 2023-01-08 19:52:41 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@fkfd.me> | 2023-01-08 19:52:41 +0800 |
commit | 988f9eaf9b1c3e0d56f23bf4b698601adc2e3b9f (patch) | |
tree | 2adabbd19d56e4fd28410eebcbf73d700092547c /Main.hs | |
parent | ec0654bf0ca057affb37a20ed0588a907e71130f (diff) |
Handle Jack and Queen
Diffstat (limited to 'Main.hs')
-rw-r--r-- | Main.hs | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,7 +1,6 @@ import System.Random (getStdGen) import Card (fullDecks, showCard, shuffle) import Game (Game(..), - Direction(CCW, CW), players, playerIdx, attack, @@ -29,10 +28,10 @@ main = do let game = Game { players = defaultPlayers , playerIdx = 0 , attack = 0 - , direction = CCW + , direction = 1 , stockPile = stock , discardPile = discard } - nextRound 1 $ dealCards 1 game + nextRound 1 $ dealCards 6 game print () |