Age | Commit message (Collapse) | Author | Files | Lines |
|
Fix an injectivity issue with JSON-encoding the entity map that was
causing the game saving to not properly round-trip. As part of this,
there's a refactor to the internals of the entity map to use sets
instead of vectors, which should also get us a nice perf boost.
|
|
Refactor a bunch of stuff around to allow for polymorphically surfacing
an EntityChar for all entities, and use this to write a generic
`entityMenu` function, which generates a menu from the chars of a list
of entities - and use that to fully implement (removing `undefined`)
menus for both attacking and picking things up when there are multiple
entities on the relevant tile.
|
|
Add a "say" function for saying messages within an app monad to the
user, and link everything up to display them and track their history
|
|
Implement messages almost the same as in the Rust version, only with
YAML instead of TOML this time, and a regular old mustache template
instead of something handrolled. Besides that, pretty much everything
here is the same.
|
|
Add support for entities via a port of the EntityMap type, and implement
command support starting at basic hjkl.
|
|
Initial commit of a Haskell version of Xanthous, written using Brick and
built with Nix.
This is so much nicer and so much easier
|