Safe Haskell | Safe |
---|---|
Language | Haskell98 |
This file gives a list of example rules that the players can submit.
- voteWithMajority :: Rule
- democracy :: [RuleNumber] -> Rule
Documentation
voteWithMajority :: Rule Source #
a majority vote, with the folowing parameters: a quorum of 2 voters is necessary for the validity of the vote the vote is assessed after every vote in case the winner is already known the vote will finish anyway after one day
democracy :: [RuleNumber] -> Rule Source #
Change current system (the rules passed in parameter) to absolute majority (half participants plus one)