2019-08-25 19:28:10 +02:00
#+TITLE : Xanthous
2019-11-30 20:13:07 +01:00
* Building
#+BEGIN_SRC shell
$ nix build
#+END_SRC
* Running
#+BEGIN_SRC shell
2019-12-01 00:25:32 +01:00
$ ./result/bin/xanthous [--help]
2019-11-30 20:13:07 +01:00
#+END_SRC
** Keyboard commands
Keyboard commands are currently undocumented, but can be found in [[[https://github.com/glittershark/xanthous/blob/master/src/Xanthous/Command.hs#L26 ][this file ]].
Movement uses the nethack-esque hjklybnu.
* Development
#+BEGIN_SRC shell
$ nix-shell
# Build (for dev)
[nix-shell:xanthous]$ cabal new-build
# Run tests
[nix-shell:xanthous]$ cabal new-run test
# Run a repl
[nix-shell:xanthous]$ cabal new-repl
#+END_SRC