This is a pre-assignment task from Reaktor. The task was to implement a web application that displays rock-paper-scissors match results. The web application displays the games as they are in progress and historical results of individual players. The historical results include all games that a player has played and the following aggregate data: win ratio, total number of matches played, and the most played hand (rock, paper, or scissors).
Live is always shown on main screen. When any match starts, it recodrs it in the table. When match is over, it shows the winner, highlights the line that the match is over, and highlights the winner (if not a Draw). The line disappears in 10 seconds after result is recieved. History button, when clicked, shows historical data table under Live table. Search can be performed by name to see only one particular player result.
React.js, Node.js, axios, express are used in the project and code styling is mainained with eslint. Project includes mini-server, which forwards requests to target endpoints.
The app is deployed to Heroku and running at:
https://reaktor-task-vladislav.herokuapp.com
To install dependencies:
npm install
To run locally:
npm run dev
I'm using eslint-config-airbnb
To run linter:
npm run lint