Skip to content

Another Rock Paper Scissors Game (ARPSG) is a simple terminal game written in Rust.

License

Notifications You must be signed in to change notification settings

acodili-jg/arpsg

Repository files navigation

Another Rock Paper Scissors Game (ARPSG)

Another Rock Paper Scissors Game (ARSPG) is a simple terminal game written in Rust.

Documentation

Following is the documentation for ARPSG v0.1.0:

Gameplay

  1. The program asks the player between rock, paper, and scissors (case-insensitive). It will keep asking until a valid option is entered.
  2. The program runs the Random Number Generator (RNG) to choose as well.
  3. The outputs from 1. and 2. are compared to determine a win, draw, or loss.
  4. The program terminates.

Building

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.

About

Another Rock Paper Scissors Game (ARPSG) is a simple terminal game written in Rust.

Topics

Resources

License

Stars

Watchers

Forks

Languages