tvl-depot/users/glittershark/xanthous
Griffin Smith 8091da8f0f feat(3p/haskellPackages): port in patches from xanthous
Add a few relatively uncontroversial patches to fix some broken packages
that I had developed for xanthous to the top-level third_party tree, so
they can be reused by other people in the monorepo

Change-Id: I68740477bda278c5dcc123080029ee4bd2cae37a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/740
Reviewed-by: Profpatsch <mail@profpatsch.de>
Reviewed-by: tazjin <mail@tazj.in>
2020-06-29 01:56:24 +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 Add 'users/glittershark/xanthous/' from commit '53b56744f4335c038724a1bcffc27a7eb8cf6a6d' 2020-06-16 01:05:44 +01: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