snix/users/grfn/xanthous
sterni 64c60f00e5 chore(grfn/xanthous/server): cargo update
This should take care of the chrono advisory which finally has become
actionable.

Change-Id: I801330b4dc5273a76f88e3e1eae4ca5237f9a070
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6830
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
2022-10-02 12:36:14 +00:00
..
.github
app
bench
build
docs
server chore(grfn/xanthous/server): cargo update 2022-10-02 12:36:14 +00:00
src
test
.envrc
.gitignore
default.nix
hie.yaml
LICENSE
nixpkgs.nix
package.yaml
pkg.nix
README.org
Setup.hs
shell.nix
xanthous.cabal

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