Safe Haskell | None |
---|---|
Language | Haskell2010 |
The main loop of the client, processing human and computer player moves turn by turn.
- loopCli :: (MonadClientSetup m, MonadClientUI m, MonadAtomic m, MonadClientReadResponse m, MonadClientWriteRequest m) => KeyKind -> Config -> DebugModeCli -> m ()
Documentation
loopCli :: (MonadClientSetup m, MonadClientUI m, MonadAtomic m, MonadClientReadResponse m, MonadClientWriteRequest m) => KeyKind -> Config -> DebugModeCli -> m () Source #
The main game loop for an AI or UI client.