haverer-0.3.0.0: Implementation of the rules of Love Letter

Safe HaskellNone
LanguageHaskell2010

Haverer.PlayerSet

Synopsis

Documentation

randomize :: MonadRandom m => PlayerSet a -> m (PlayerSet a) Source

Randomize the order of the PlayerSet

Since 0.3

rotate :: PlayerSet a -> PlayerSet a Source

Rotate the order of the PlayerSet

The player who was first is now last, whoever was second is now third, whoever was third is now second, etc.

Since 0.3