| Speed up the floodFill algorithm by sprinkling in some strictness and specializing it to the only type it's currently called at anyway. Change-Id: I4557fc51b1c1036c127bfd5bee50748d8692ae74 Reviewed-on: https://cl.tvl.fyi/c/depot/+/555 Reviewed-by: glittershark <grfn@gws.fyi> | ||
|---|---|---|
| .. | ||
| .github | ||
| build | ||
| src | ||
| test | ||
| .envrc | ||
| .gitignore | ||
| default.nix | ||
| haskell-overlay.nix | ||
| hie.sh | ||
| LICENSE | ||
| nixpkgs.nix | ||
| package.yaml | ||
| pkg.nix | ||
| README.org | ||
| Setup.hs | ||
| shell.nix | ||
| xanthous.cabal | ||
Xanthous
Building
$ nix buildRunning
$ ./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