Index contains the basic interface of thr game, style contains the styling of the webpage and script contains the js code of the game logic. Three buttons in HTML will take input and it will be read by the js code, which will generate a random number 1-3 and then reference if it is rock, paper or scissors which is stored in an array, it will compare the values of input and the computer generated choice and compare them to give us if the player won, the computer won or it was a draw. The code will also keep a note of the matches with a point counting system.
To run the game, open the HTML file.
How to play the game: Simply click on a button you would like to play, Rock beats scissors, scissors beats paper and paper beats rock, same choices result in a draw