Rock, Paper, Scissors is a JavaScript console game written as part of the foundations course on TheOdinProject.
The game is played according to the rules of the real world Rock Paper Scissors game.
Any modern browser should play the game just fine.
To play the game:
- A user must first visit the game's live page.
- Once on the page, the user may interact with the game options on the UI to play the game.
- A game round is played with a computer program once the user clicks a game option. Computer choice is always randomly generated on each round. The game logs each round's results and increments player scores when they win.
- Once any user reaches 5 points (by winning 5 times), the current game iteration ends. A Restart Game button appears below the game log and the user may click on it to play another iteration of the game. For now, the user can only start a new game after the current game ends.