LambdaHack-0.2.14: A roguelike game engine in early development

Safe HaskellNone
LanguageHaskell2010

Game.LambdaHack.Server.LoopServer

Description

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

Synopsis

Documentation

loopSer :: (MonadAtomic m, MonadServerReadRequest m) => DebugModeSer -> (FactionId -> ChanServer ResponseUI RequestUI -> IO ()) -> (FactionId -> ChanServer ResponseAI RequestAI -> IO ()) -> COps -> m () Source

Start a game session. Loop, communicating with clients.