Add adventure selection screen (#4)
Create tests folder
Use contains_key() to remove has_intro_node variable
A simple text-based adventure game that I'm using to practice Rust. It probably won't ever get very far!
A simple cargo run
.
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
.