This is my implementation of game rock-paper-siccors
On the initial page user gets to choice his preffered weapon (scissors, rock or paper). Weapon is selected by clicking on image representation of each weapon.
Upon clicking Computer weapon is set randomly and values obtained are matched to check if user has won or lost.
Results are saved in localStorage and high score is displayed at the beging of each game, if there are any stored resultd in local storage.
To start app enter npm start in terminal.
If you clone app from GitHub please install node modules to be able to run app.
App is composed of 9 components.
Main logic of the game is in the Game component.
Material-UI is used in the app