Safe Haskell | Safe |
---|---|
Language | Haskell98 |
This file gives a list of example rules that the players can submit.
- king :: V PlayerNumber
- makeKing :: PlayerNumber -> Rule
- monarchy :: PlayerNumber -> Rule
- revolution :: PlayerNumber -> Rule
Documentation
king :: V PlayerNumber Source #
Variable holding the player number of the King
makeKing :: PlayerNumber -> Rule Source #
player pn is the king: we create a variable King to identify him, and we prefix his name with King
monarchy :: PlayerNumber -> Rule Source #
Monarchy: only the king decides which rules to accept or reject
revolution :: PlayerNumber -> Rule Source #
Revolution! Hail to the king! This rule suppresses the democracy (usually rules 1 and 2), installs the king and activates monarchy.