about summary refs log tree commit diff
path: root/src/Xanthous/Game/State.hs
AgeCommit message (Collapse)AuthorFilesLines
2019-10-05 Display multiple messages per turnGriffin Smith1-15/+45
When tracking message history, save messages associated with the turn they were displayed on, which allows us to have the notion of the "current turn's" messages (provided via a MonoComonad instance).
2019-09-28 Add debug command to reveal the gameGriffin Smith1-2/+21
Add a (debug) command to reveal all tiles on the game regardless of the character's vision, which'll make it easier to debug creature's behavior while they're not visible.
2019-09-28 Implement the start of creature AIGriffin Smith1-0/+200
Add a Brain class, which determines for an entity the set of moves it makes every step of the game, and begin to implement that for gormlaks. The idea here is that every step of the game, a gormlak will move towards the furthest-away wall it can see.