Rock-paper-scissors game (aka Rochambeau, Roshambo, or Janken) is a fun and easy hand game that anyone can learn and enjoy.
rock
,paper
, &scissors
are the only game inputs allowed.- Cheating attempt is an automatic
failure
. - You win the game if you reach the score of
5
before your opponent. - Play input is case-insensitive, meaning,
rock
==ROCK
==Rock
.
-
TIE: A play round is
Tied
when both players draw the same inputs. For example,rock
+rock
,scissors
+scissors
, orpaper
+paper
. -
WIN: A play round is
Won
when it drawsrock
+scissors
,paper
+rock
, orscissors
+paper
, respectively toplayer
+computer
-
LOST: A play round is
Lost
when both scenarios1
&2
fail.
- 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 thePlay buttons
belt. - Repeat step
1
until the game is concluded. - Press the
Restart
button anytime you wish to reset the game.
Have fun!
👤 Steven Ntakirutimana
- GitHub: @sntakirutimana72
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- The
Odin Project
This project is MIT licensed.