Another Rock Paper Scissors Game (ARSPG) is a simple terminal game written in Rust.
Following is the documentation for ARPSG v0.1.0:
- The program asks the player between
rock
,paper
, andscissors
(case-insensitive). It will keep asking until a valid option is entered. - The program runs the Random Number Generator (RNG) to choose as well.
- The outputs from
1.
and2.
are compared to determine a win, draw, or loss. - The program terminates.
For details on cloning this repository:
https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository
Checks the project for mistakes with clippy:
cargo clippy
Creates a debug build of the project:
cargo build
Runs tests on the project:
cargo test
Creates and run a debug build of the project:
cargo run
To create and or run a release build, simply add --release
.