werewolf-0.4.6.0: A game engine for running werewolf in a chat client

Copyright(c) Henry J. Wylde, 2016
LicenseBSD3
Maintainerpublic@hjwylde.com
Safe HaskellNone
LanguageHaskell2010

Game.Werewolf.Player

Contents

Description

Player functions are defined in Game.Werewolf.Internal.Player. This module just re-exports the functions relevant to the public interface.

Synopsis

Player

data Player Source

A player has a name, role and state. Any stateful information needed for a player's role is held on the Game itself.

N.B., player equality is defined on just the name as a player's role may change throughout the game.

data State Source

Surprise surprise, players may be dead or alive.

Constructors

Alive 
Dead