nomyx-library-1.0.0: Library of rules for Nomyx

Safe HaskellSafe
LanguageHaskell98

Nomyx.Library.Monarchy

Description

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

Synopsis

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.