LambdaHack-0.2.0: A roguelike game engine in early and very active development

Safe HaskellNone

Game.LambdaHack.Turn

Description

The main loop of the game, processing player and AI moves turn by turn.

Synopsis

Documentation

handle :: Action ()Source

Decide if the hero is ready for another move. If yes, run a player move, if not, run an AI move. In either case, eventually the next turn is started or the game ends.