Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexmngn/react-rock-paper-scissors
Rock Paper Scissors game built with ReactJS
https://github.com/alexmngn/react-rock-paper-scissors
javascript karma reactjs webpack
Last synced: 4 days ago
JSON representation
Rock Paper Scissors game built with ReactJS
- Host: GitHub
- URL: https://github.com/alexmngn/react-rock-paper-scissors
- Owner: alexmngn
- Created: 2017-03-21T05:05:10.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-10-01T14:14:09.000Z (over 4 years ago)
- Last Synced: 2024-12-31T07:09:53.018Z (11 days ago)
- Topics: javascript, karma, reactjs, webpack
- Language: JavaScript
- Homepage:
- Size: 153 KB
- Stars: 337
- Watchers: 20
- Forks: 122
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-rock-paper-scissors
This is a project example of the game "Rock Paper Scissors" built with React.js.
The architecture is feature-based and follows the recommendation from the article I wrote on Medium: [How to better organize your React applications?](https://medium.com/@alexmngn/how-to-better-organize-your-react-applications-2fd3ea1920f1)
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 v7.7.1 and npm 4.1.2.## Helpful commands
You have the following CLI commands available:
- `npm run start` Runs the project with `webpack-dev-server` and serves it on http://localhost:3333
- `npm run test`: Runs unit tests via Karma, in Chrome by default
- `npm run lint`: Runs ESLint against your source and config files
- `npm run build` Runs Webpack build
- `npm run serve` Serves the `build/` folder contents