Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
inRoundEvent :: Gen (Result PlayerId) Source
Generate an event that might come up in the course of play.
playTurn' :: (Ord a, Show a) => Round a -> Card -> Play a -> (Result a, Round a) Source
For a Round and a known-good Card and Play, play the cards and return the round and event. If the hand busts out, Card and Play are ignored.
randomRound :: Gen (Round PlayerId) Source
Generate a random round that might come up in the course of play.
randomRounds :: Gen [Round PlayerId] Source
Generate a random number of consecutive rounds, starting from an initial round.