haverer-0.1.0.0: Implementation of the rules of Love Letter

Safe HaskellNone
LanguageHaskell2010

Haverer.ValidMoves

Documentation

getValidMoves :: Ord playerId => Round playerId -> [(Card, Play playerId)] Source

protectedPlayers :: Ord playerId => Round playerId -> [playerId] Source

movesThatTargetPlayer :: Ord playerId => Round playerId -> playerId -> [(Card, Play playerId)] Source

attacksOnProtectedPlayers :: Ord playerId => Round playerId -> [(Card, Play playerId)] Source