Safe Haskell | Safe |
---|---|
Language | Haskell98 |
This file gives a list of example rules that the players can submit. You can copy-paste them in the field Code of the web GUI. You can copy either the name of the function (i.e. "helloWorld") or its body (i.e. "outputAll_ "hello, world!""), but NOT both. Don't hesitate to get inspiration from there and create your own rules!
- victoryXRules :: Int -> Rule
- victoryXEcu :: Int -> Rule
- noGroupVictory :: Rule
- iWin :: Rule
Documentation
victoryXRules :: Int -> Rule Source #
set the victory for players having more than X accepted rules
victoryXEcu :: Int -> Rule Source #
noGroupVictory :: Rule Source #
Only one player can achieve victory: No group victory. Forbidding group victory usually becomes necessary when lowering the voting quorum: a coalition of players could simply force a "victory" rule and win the game.