Skip to content

Pre-assignment for Reaktor Developer Trainee, which shows the current live matches of rock-scissors-paper games, and history results

Notifications You must be signed in to change notification settings

vladis-c/reaktor-games-results

Repository files navigation

Reaktor Pre-Assignment

Vladislav Cherkasheninov December 2021

About the project

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.

App URL

The app is deployed to Heroku and running at:

https://reaktor-task-vladislav.herokuapp.com

How to start

To install dependencies:

npm install

To run locally:

npm run dev

Linter

I'm using eslint-config-airbnb

To run linter:

npm run lint

About

Pre-assignment for Reaktor Developer Trainee, which shows the current live matches of rock-scissors-paper games, and history results

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published