haverer-0.1.0.0: Implementation of the rules of Love Letter
Haverer.ValidMoves
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