nomyx-library-1.0.0: Library of rules for Nomyx

Safe HaskellSafe
LanguageHaskell98

Nomyx.Library.Democracy

Description

This file gives a list of example rules that the players can submit.

Synopsis

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)