about summary refs log tree commit diff
path: root/test/Xanthous/DataSpec.hs
AgeCommit message (Collapse)AuthorFilesLines
2019-10-13 Implement speed and ticksGriffin Smith1-4/+4
Gormlaks now move 1/8th the speed of the character, which means we can run away from them - yay! Unfortunately this also introduces a bug where they'll eventually get stuck and not do anything, so I'll be tackling that next.
2019-10-06 Only allow adjacent gormlaks to attackGriffin Smith1-1/+8
Previously the isUnit function was falsely returning `True` for positions that were one tile off in *either* direction from the character, when it should've been *both*. Oops.
2019-09-29 Gormlaks attack backGriffin Smith1-0/+14
When gormlaks see the character, they step towards them and attack dealing 1 damage when adjacent. Characters have hitpoints now, displayed at the bottom of the game screen, and when the game is over they die.
2019-09-02 Add raws, loaded statically from a folderGriffin Smith1-1/+1
Add raw types with support for both creatures and items, loaded statically from a "raws" folder just like in the Rust version.
2019-08-31 Add entities, and allow walking aroundGriffin Smith1-0/+35
Add support for entities via a port of the EntityMap type, and implement command support starting at basic hjkl.