An open API service indexing awesome lists of open source software.

https://github.com/garf/rps-react

"Rock! Paper, scissors" game. Code example on React.JS
https://github.com/garf/rps-react

code-sample

Last synced: 6 months ago
JSON representation

"Rock! Paper, scissors" game. Code example on React.JS

Awesome Lists containing this project

README

          

# ROCK! Paper, scissors game

## Installation

`npm ci`

## Running

`npm start`

## Tests

`npm test`

### Known issues

- not saving scores between sessions
- game results flashing on scores reset
- tests are written only for one service
- very basic styling

### What is done

- playing player with computer
- counting scores
- resetting scores
- it made possible to easily extend it to more options (lizard, Spock)
- potentially extensible for more than 2 players