anticiv-0.1.0.5: This is an IRC bot for Mafia and Resistance.

Safe HaskellSafe-Inferred
LanguageHaskell2010

Network.Anticiv.Modules.Mafia.Data

Documentation

data RoleCard Source

Constructors

Card :-> Role 

Instances

data RoleProposal Source

Constructors

Propose Int RoleCard 

Instances

data Priority Source

Constructors

Highest 
High 
Medium 
Low 
Lowest 

Instances

proxy :: (forall f. Faction f => f -> a) -> Role -> a Source

data MafiaF Source

Constructors

Rom 
Spy 
MaffJudge 

propose :: Faction f => f -> [Int] -> [RoleProposal] Source

bogus :: Faction f => (f -> Role) -> Role Source