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

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

Game.Werewolf.Engine

Contents

Description

Engine functions.

Synopsis

Loop

Game

Manipulations

Queries

Reading and writing

writeGame :: MonadIO m => Game -> m () Source

Player

Manipulations

createPlayers :: MonadIO m => [Text] -> [Role] -> m [Player] Source

Queries

Role