- Ability to play against the computer
- Ability to simulate a game (Computer vs Computer)
- Ability to restart the game
- Computer generated plays need to be random
- Javascript: ES6, React, Redux
- 'main.js' and 'App.js' are good starting points to view this code
- CSS: SCSS, Autoprefixer to automatically insert cross browser CSS
- Inline SVG images used for assets (note: copyright information left in the assets)
- Comprehensive set of unit tests for all components, testing both rendering and game logic
- Easily extensible code, game can be completely changed with a few code changes
- Commit history available on this repository
- Responsive design, scales down to mobile devices
- Comments written where appropriate, but code written to be as clear as possible without comments
yarn run dev
runningwebpack-dev-server
and serving the project onlocalhost
yarn run test -- --browsers Chrome,Safari
running unit tests viakarma
e.g. in Chrome and Safariyarn run lint
runningeslint
against your source (and config) filesyarn run build
runningwebpack
buildyarn run serve
serving thebuild/
folder contents