nomyx-library-1.0.0: Library of rules for Nomyx

Safe HaskellSafe
LanguageHaskell98

Nomyx.Library.Examples

Description

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

Synopsis

Documentation

nothing :: Rule Source #

A rule that does nothing

helloWorld :: Rule Source #

A rule that says hello to all players

delRule :: RuleNumber -> Rule Source #

delete a rule

displayCurrentTime :: Rule Source #

will display the current time (when refreshing the screen)

displayActivateTime :: Nomex () Source #

will display the time at which the rule as been activated

bravoButton :: Rule Source #

display a button and greets you when pressed (for player 1)

helloButton :: Rule Source #

display a button to greet other players