summaryrefslogtreecommitdiff
path: root/Game.hs
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2023-01-09 11:08:02 +0800
committerFrederick Yin <fkfd@fkfd.me>2023-01-09 11:08:02 +0800
commitd034b9c9273a7f3ff91554c4b605dd488207caa1 (patch)
tree2eb992ddb5a35371ea355050f9d83e7a5eccf4ef /Game.hs
parent552b8a0a8ed89fdc85459037f19ae0a13bfe6702 (diff)
Display player's cards in color
Diffstat (limited to 'Game.hs')
-rw-r--r--Game.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Game.hs b/Game.hs
index b9ad8bd..69c1d08 100644
--- a/Game.hs
+++ b/Game.hs
@@ -33,7 +33,7 @@ beginTurn game@(Game plyrs pidx att dir prev stock disc) = do
putStrLn $ replicate 80 '-'
putStrLn $ P.name player ++ "'s turn (input 0 to skip turn and draw card)"
- putStrLn $ P.showCards player
+ putStrLn $ P.showCards player prev
putStrLn $ "Current attack: " ++ show att
putStrLn $ "Prev card: " ++ C.showCard prev