depot/third_party/tvl/users/grfn/xanthous
Default email a291c8690a Project import generated by Copybara.
GitOrigin-RevId: e6e19f3d81a982a62e1bba08f0b4f7fdc21b4ea0
2022-05-19 16:39:52 +02:00
..
.github Project import generated by Copybara. 2022-05-19 16:39:52 +02:00
app Project import generated by Copybara. 2022-05-19 16:39:52 +02:00
bench Project import generated by Copybara. 2022-05-19 16:39:52 +02:00
build Project import generated by Copybara. 2022-05-19 16:39:52 +02:00
docs Project import generated by Copybara. 2022-05-19 16:39:52 +02:00
server Project import generated by Copybara. 2022-05-19 16:39:52 +02:00
src Project import generated by Copybara. 2022-05-19 16:39:52 +02:00
test Project import generated by Copybara. 2022-05-19 16:39:52 +02:00
.envrc Project import generated by Copybara. 2022-05-19 16:39:52 +02:00
.gitignore Project import generated by Copybara. 2022-05-19 16:39:52 +02:00
default.nix Project import generated by Copybara. 2022-05-19 16:39:52 +02:00
hie.yaml Project import generated by Copybara. 2022-05-19 16:39:52 +02:00
LICENSE Project import generated by Copybara. 2022-05-19 16:39:52 +02:00
nixpkgs.nix Project import generated by Copybara. 2022-05-19 16:39:52 +02:00
package.yaml Project import generated by Copybara. 2022-05-19 16:39:52 +02:00
pkg.nix Project import generated by Copybara. 2022-05-19 16:39:52 +02:00
README.org Project import generated by Copybara. 2022-05-19 16:39:52 +02:00
Setup.hs Project import generated by Copybara. 2022-05-19 16:39:52 +02:00
shell.nix Project import generated by Copybara. 2022-05-19 16:39:52 +02:00
xanthous.cabal Project import generated by Copybara. 2022-05-19 16:39:52 +02: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