Rock Paper Scissors Game: Using Vanilla Javascript.
“Rock paper scissors” is a simple and interesting game. Many of us used to play it in a school to resolve disputes or just to spend some time with friends."
The rules are very simple and probably you remember them from your childhood:
- If you choose Rock, you will win against Scissors but lose against Paper.
- If you choose Scissors, you will win against Paper but lose against Rock.
- If you choose Paper, you will win against Rock but lose against Scissors.
- Did you know that this game first appeared in China in the 17th century? Yes, it was not invented in Europe or America but in Asia. Europe started to play this game only in 19th century.
- Statistics say that people usually choose Scissors in the first round and Rock in the second.
- There is a robot developed in Japan which wins with 100% chance. It analyzes movement of your hand muscles to predict what choice you’ll show.
