tvl-depot/users/glittershark/xanthous
Griffin Smith 44dfc50e2a chore(xan): Gitignore data directory
I'm using this dir to store save files that are particularly
interesting, eg bug reproductions etc.

Change-Id: Id6a805d85b3ea2e1171ea3af96303f05c2468070
Reviewed-on: https://cl.tvl.fyi/c/depot/+/893
Reviewed-by: glittershark <grfn@gws.fyi>
2020-07-03 03:35:05 +00:00
..
.github Add 'users/glittershark/xanthous/' from commit '53b56744f4335c038724a1bcffc27a7eb8cf6a6d' 2020-06-16 01:05:44 +01:00
bench feat(xan): Add a benchmark suite 2020-06-28 23:38:48 +00:00
build Add 'users/glittershark/xanthous/' from commit '53b56744f4335c038724a1bcffc27a7eb8cf6a6d' 2020-06-16 01:05:44 +01:00
src feat(xan): Any user input cancels autocommands 2020-06-29 00:00:40 +00:00
test feat(xan): Generate random villages 2020-06-28 23:38:48 +00:00
.envrc Add 'users/glittershark/xanthous/' from commit '53b56744f4335c038724a1bcffc27a7eb8cf6a6d' 2020-06-16 01:05:44 +01:00
.gitignore chore(xan): Gitignore data directory 2020-07-03 03:35:05 +00:00
default.nix feat(3p/haskellPackages): port in patches from xanthous 2020-06-29 01:56:24 +00:00
hie.sh Add 'users/glittershark/xanthous/' from commit '53b56744f4335c038724a1bcffc27a7eb8cf6a6d' 2020-06-16 01:05:44 +01:00
LICENSE Add 'users/glittershark/xanthous/' from commit '53b56744f4335c038724a1bcffc27a7eb8cf6a6d' 2020-06-16 01:05:44 +01:00
nixpkgs.nix feat(3p/haskellPackages): port in patches from xanthous 2020-06-29 01:56:24 +00:00
package.yaml fix(xan): Disable comonad-extras 2020-06-29 00:38:32 +00:00
pkg.nix fix(xan): Build without nixpkgs in NIX_PATH 2020-06-29 00:38:32 +00:00
README.org Add 'users/glittershark/xanthous/' from commit '53b56744f4335c038724a1bcffc27a7eb8cf6a6d' 2020-06-16 01:05:44 +01:00
Setup.hs Add 'users/glittershark/xanthous/' from commit '53b56744f4335c038724a1bcffc27a7eb8cf6a6d' 2020-06-16 01:05:44 +01:00
shell.nix feat(3p/haskellPackages): port in patches from xanthous 2020-06-29 01:56:24 +00:00
xanthous.cabal feat(xan): Generate random villages 2020-06-28 23:38:48 +00: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