LambdaHack-0.6.1.0: A game engine library for roguelike dungeon crawlers

Safe HaskellNone
LanguageHaskell2010

Game.LambdaHack.Server.EndM

Description

The main loop of the server, processing human and computer player moves turn by turn.

Synopsis

Documentation

endOrLoop :: (MonadAtomic m, MonadServer m) => m () -> (Maybe (GroupName ModeKind) -> m ()) -> m () -> m () -> m () Source #

Continue or exit or restart the game.