Skip to content

Rock-paper-scissors is a fun and easy hand game that anyone can learn and enjoy.

License

Notifications You must be signed in to change notification settings

sntakirutimana72/rps-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EDUCATIONAL

Game: Rock Paper Scissors

Rock-paper-scissors game (aka Rochambeau, Roshambo, or Janken) is a fun and easy hand game that anyone can learn and enjoy.

🛠️ Built With

Tools

📜 Constraints

  1. rock, paper, & scissors are the only game inputs allowed.
  2. Cheating attempt is an automatic failure.
  3. You win the game if you reach the score of 5 before your opponent.
  4. Play input is case-insensitive, meaning, rock == ROCK == Rock.

🎬 Scenarios

  1. TIE: A play round is Tied when both players draw the same inputs. For example, rock+rock, scissors+scissors, or paper+paper.

  2. WIN: A play round is Won when it draws rock+scissors, paper+rock, or scissors+paper, respectively to player+computer

  3. LOST: A play round is Lost when both scenarios 1 & 2 fail.

🙋 Let's play

  1. From the three Play buttons (rock<>fist, paper<>hand, scissor<>Two fingers), select one which best suits your choice. You should be able to see the result of the play round and the current game score, just above the Play buttons belt.
  2. Repeat step 1 until the game is concluded.
  3. Press the Restart button anytime you wish to reset the game.

💡 Tips

Have fun!

Authors

👤 Steven Ntakirutimana

🤝 Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

🫶 Show your support

Give a ⭐️ if you like this project!

🤓 Acknowledgments

  • The Odin Project

📝 License

This project is MIT licensed.

About

Rock-paper-scissors is a fun and easy hand game that anyone can learn and enjoy.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published