depot/third_party/tvl/users/glittershark/xanthous
Default email c4fb0432ae Project import generated by Copybara.
GitOrigin-RevId: 3fc1143a04da49a92c3663813c6a0c1e8ccd477f
2020-09-29 23:42:59 -04:00
..
.github Project import generated by Copybara. 2020-09-29 23:42:59 -04:00
bench Project import generated by Copybara. 2020-09-29 23:42:59 -04:00
build Project import generated by Copybara. 2020-09-29 23:42:59 -04:00
src Project import generated by Copybara. 2020-09-29 23:42:59 -04:00
test Project import generated by Copybara. 2020-09-29 23:42:59 -04:00
.envrc Project import generated by Copybara. 2020-09-29 23:42:59 -04:00
.gitignore Project import generated by Copybara. 2020-09-29 23:42:59 -04:00
default.nix Project import generated by Copybara. 2020-09-29 23:42:59 -04:00
hie.yaml Project import generated by Copybara. 2020-09-29 23:42:59 -04:00
LICENSE Project import generated by Copybara. 2020-09-29 23:42:59 -04:00
nixpkgs.nix Project import generated by Copybara. 2020-09-29 23:42:59 -04:00
package.yaml Project import generated by Copybara. 2020-09-29 23:42:59 -04:00
pkg.nix Project import generated by Copybara. 2020-09-29 23:42:59 -04:00
README.org Project import generated by Copybara. 2020-09-29 23:42:59 -04:00
Setup.hs Project import generated by Copybara. 2020-09-29 23:42:59 -04:00
shell.nix Project import generated by Copybara. 2020-09-29 23:42:59 -04:00
xanthous.cabal Project import generated by Copybara. 2020-09-29 23:42:59 -04:00

Xanthous

Building

$ nix build

Running

$ ./result/bin/xanthous [--help]

Keyboard commands

Keyboard commands are currently undocumented, but can be found in [this file. Movement uses the nethack-esque hjklybnu.

Development

Use lorri, or run everything in a nix-shell

# Build (for dev)
$ cabal new-build

# Run the game
$ cabal new-run xanthous

# Run tests
$ cabal new-run test

# Run a repl
$ cabal new-repl