/rps

Rock Paper Scissors- Rust Example

Primary LanguageRust

Rock Paper Scissors- Rust Example

How to Play

# Clone Repository
git clone git@github.com:rosasck/rps.git

# Build the Game
cargo build 

# Run the Game!
cargo run 

How to Win!

In this straightforward game, victory goes to the first player to secure at least 3 out of 5 rounds!

  1. Rock beats scissors!
    • Because rock crushes scissors.
  2. Scissors beats paper!
    • Because scissors cut paper.
  3. Paper beats rock!
    • Because paper covers rock.

What happens in a tie? In this game, not everybody can be a winner so you keep playing!