This is a project example of the "Rock-Paper-Scissors" game developed with React.
It can easily be extended to different versions of the game, such as "Rock-Paper-Scissors-Lizard-Spock"
The project has unit tests which only covers the main game features.
You can fork and clone the project and run npm install to install the external dependencies.
This project has been tested with node v9.5.0 and npm 6.1.0.
You have the following CLI commands available:
-
npm startRuns the project and serves it on http://localhost:3000 -
npm test: Runs unit tests via JTest in the terminal -
npm run buildBuilds the project and packages it for production -
npm run serveServes thebuild/folder contents