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

Safe HaskellNone
LanguageHaskell2010

Game.LambdaHack.Server

Contents

Description

Semantics of requests that are sent to the server.

See https://github.com/LambdaHack/LambdaHack/wiki/Client-server-architecture.

Synopsis

Re-exported from Game.LambdaHack.Server.LoopM

loopSer Source #

Arguments

:: (MonadAtomic m, MonadServerReadRequest m) 
=> DebugModeSer

server debug parameters

-> Config 
-> (Maybe SessionUI -> FactionId -> ChanServer -> IO ())

the code to run for UI clients

-> m () 

Start a game session, including the clients, and then loop, communicating with the clients.

Re-exported from Game.LambdaHack.Server.Commandline

debugArgs :: [String] -> DebugModeSer Source #

Parse server debug parameters from commandline arguments.

Re-exported from Game.LambdaHack.Server.State