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

Safe HaskellNone

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.