summaryrefslogtreecommitdiff
path: root/Game.hs
AgeCommit message (Expand)Author
2023-03-13Package into cabal projectHEADmainFrederick Yin
2023-01-18Determine first playerFrederick Yin
2023-01-14Reset game state after each roundFrederick Yin
2023-01-11Move game setup out of MainFrederick Yin
2023-01-11Define data SetupFrederick Yin
2023-01-11Print penalties at end of roundFrederick Yin
2023-01-11Reorder functions in module GameFrederick Yin
2023-01-09Auto mode can be toggledFrederick Yin
2023-01-09Allow regular card once attack is done; Auto modeFrederick Yin
2023-01-09Fix bug in restoring stock, fix attack rulesFrederick Yin
2023-01-09Restore stock pile if depletedFrederick Yin
2023-01-09Display player's cards in colorFrederick Yin
2023-01-08drawAndSkip carries attackFrederick Yin
2023-01-08Validate attempted shed against prev cardFrederick Yin
2023-01-08Divide turn logic into shed and drawFrederick Yin
2023-01-08beginRounds and beginTurn are better namesFrederick Yin
2023-01-08Handle 2 and 3Frederick Yin
2023-01-08Handle Jack and QueenFrederick Yin
2023-01-08Game ends when player sheds all cardsFrederick Yin
2023-01-08Rename advanceGame -> nextTurnFrederick Yin
2023-01-07G.advanceGame lets player draw/shed cardFrederick Yin
2023-01-07Rudimentary Game.advanceGameFrederick Yin
2023-01-05Game.dealCardsFrederick Yin
2023-01-05prompt returns IO (Maybe Card), turn is skippableFrederick Yin
2023-01-05Prompt for card to playFrederick Yin
2023-01-04Full decks and shufflingFrederick Yin