Do not follow this link

~keving/Adventure

A simple text-based adventure game
Add adventure selection screen (#4)
Use contains_key() to remove has_intro_node variable

refs

plain_text
browse  log 

clone

read-only
https://git.sr.ht/~keving/Adventure
read/write
git@git.sr.ht:~keving/Adventure

You can also use your local clone with git send-email.

#Adventure

builds.sr.ht status

A simple text-based adventure game that I'm using to practice Rust. It probably won't ever get very far!

#Running

A simple cargo run.

#Development

Code formatting is checked using rustfmt. You can format the files using cargo fmt.

The CI system checks this as well, and the build will fail if the code is not formatted correctly.

You can ensure you always commit correctly formatted code by using pre-commit.

For example:

apt install pre-commit
pre-commit install

You can also run the pre-commit checks by running pre-commit run --all-files.

Do not follow this link