summaryrefslogtreecommitdiff
path: root/Main.hs
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2023-01-08 19:52:41 +0800
committerFrederick Yin <fkfd@fkfd.me>2023-01-08 19:52:41 +0800
commit988f9eaf9b1c3e0d56f23bf4b698601adc2e3b9f (patch)
tree2adabbd19d56e4fd28410eebcbf73d700092547c /Main.hs
parentec0654bf0ca057affb37a20ed0588a907e71130f (diff)
Handle Jack and Queen
Diffstat (limited to 'Main.hs')
-rw-r--r--Main.hs5
1 files changed, 2 insertions, 3 deletions
diff --git a/Main.hs b/Main.hs
index fd10cdf..9cf55fe 100644
--- a/Main.hs
+++ b/Main.hs
@@ -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 ()