tvl-depot/users/glittershark/xanthous
Griffin Smith 9b8d3185fe refactor(xan): Switch to V2 over tuples most places
These are generally rather nicer to work due to some typeclass instances,
and integrate better with other ecosystems for things like linear
algebra etc.

Change-Id: I546c8da7b17234648f3d612b28741c1fded25447
Reviewed-on: https://cl.tvl.fyi/c/depot/+/910
Tested-by: BuildkiteCI
Reviewed-by: glittershark <grfn@gws.fyi>
2020-07-04 15:30:52 +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 refactor(xan): Switch to V2 over tuples most places 2020-07-04 15:30:52 +00:00
test refactor(xan): Switch to V2 over tuples most places 2020-07-04 15:30:52 +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 refactor(xan): Simplify build infrastructure 2020-07-03 14:41:36 +00:00
hie.yaml feat(xan): Use haskell-language-server 2020-07-03 23:23:03 +00: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 feat(xan): Use haskell-language-server 2020-07-03 23:23:03 +00:00
pkg.nix refactor(xan): Simplify build infrastructure 2020-07-03 14:41:36 +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(xan): Use haskell-language-server 2020-07-03 23:23:03 +00:00
xanthous.cabal refactor(xan): Switch to V2 over tuples most places 2020-07-04 15:30:52 +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