snix/users/aspen/xanthous
sterni 11681612c3 chore: lib.types.string -> lib.types.str
lib.types.string concatenates conflicting definitions on module merge
which is counter intuitive and hard to debug behavior.

Change-Id: I8ccdca0e8895fb5cc4600c367f8d52a9ab80ff75
Reviewed-on: https://cl.tvl.fyi/c/depot/+/13177
Autosubmit: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Reviewed-by: aspen <root@gws.fyi>
2025-03-02 13:55:21 +00:00
..
.github chore(users): grfn -> aspen 2024-02-14 19:37:41 +00:00
app chore(users): grfn -> aspen 2024-02-14 19:37:41 +00:00
bench chore(users): grfn -> aspen 2024-02-14 19:37:41 +00:00
build chore(users): grfn -> aspen 2024-02-14 19:37:41 +00:00
docs chore(users): grfn -> aspen 2024-02-14 19:37:41 +00:00
server chore: lib.types.string -> lib.types.str 2025-03-02 13:55:21 +00:00
src chore(users): grfn -> aspen 2024-02-14 19:37:41 +00:00
test chore(users): grfn -> aspen 2024-02-14 19:37:41 +00:00
.envrc chore(users): grfn -> aspen 2024-02-14 19:37:41 +00:00
.gitignore chore(users): grfn -> aspen 2024-02-14 19:37:41 +00:00
default.nix chore(users): grfn -> aspen 2024-02-14 19:37:41 +00:00
hie.yaml chore(users): grfn -> aspen 2024-02-14 19:37:41 +00:00
LICENSE chore(users): grfn -> aspen 2024-02-14 19:37:41 +00:00
nixpkgs.nix chore(users): grfn -> aspen 2024-02-14 19:37:41 +00:00
package.yaml chore(users): grfn -> aspen 2024-02-14 19:37:41 +00:00
pkg.nix chore(users): grfn -> aspen 2024-02-14 19:37:41 +00:00
README.org chore(users): grfn -> aspen 2024-02-14 19:37:41 +00:00
Setup.hs chore(users): grfn -> aspen 2024-02-14 19:37:41 +00:00
shell.nix chore(users): grfn -> aspen 2024-02-14 19:37:41 +00:00
xanthous.cabal chore(users): grfn -> aspen 2024-02-14 19:37:41 +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