This is a simple implementation of the classic Rock-Paper-Scissors game using HTML, CSS, and JavaScript.
1.Clone this repository or download the files.
2.Open the index.html file in your web browser.
3.Click on one of the three buttons: Rock, Paper, or Scissors.
4.The computer will randomly select its choice.
5.The result of the game will be displayed on the screen.
index.html: Contains the structure of the game and links to the CSS and JavaScript files.
styles.css: Stylesheet for the game.
main.js: JavaScript file containing the game logic.
The game logic is implemented in the main.js file. It involves generating a random choice for the computer, comparing it with the player's choice, and determining the winner based on the rules of Rock-Paper-Scissors.
- HTML: Used for structuring the web page.
- CSS: Used for styling the web page and making it responsive.
- JavaScript: JavaScript file containing the game logic
This game was created by Saravanarajan.
