Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 2.27 KB

README.md

File metadata and controls

39 lines (32 loc) · 2.27 KB

Rock-Paper-Scissors-Game

Screenshot (384) Let me explain as we all have played a simple rock-paper-scissors but in this game, I have included some new features like an AutoPlay button and StopPLay button and resetscore button and also update our score after every play. Rock-Paper-Scissors Game This is a simple implementation of the popular game Rock-Paper-Scissors. It allows you to play the game against the computer and includes some additional features such as an autoplay button and a stopplay button. The project also updates the score every time a game is played.

How to Play

Clone or download this repository to your local machine. Open the rock-paper-scissors.html file in your web browser. The game will start with an initial score of 0 for both the player and the computer. Click on one of the buttons representing rock, paper, or scissors to make your move. The computer will randomly choose its move, and the result of the game will be displayed on the screen. The score will be updated based on the outcome of each game. To autoplay the game, click on the "Autoplay" button. The game will continue playing automatically until you click the "Stopplay" button. To stop autoplay at any time, click on the "Stopplay" button. Have fun playing Rock-Paper Scissors!

Technologies Used This project was developed using the following technologies:

HTML CSS JavaScript File Structure The repository contains the following files:

rock-paper-scissors.html: The main HTML file that displays the game interface. rock-paper-scissors.html.css: The CSS file that defines the styles and layout of the game. rock-paper-scissors.html.js: The JavaScript file that handles the game logic and updates the score. Contributions Contributions to this project are welcome. If you find any issues or have ideas for improvements, feel free to open an issue or submit a pull request.

Acknowledgments The implementation of the Rock-Paper-Scissors game is based on the classic rules of the game. The autoplay feature and score updates were added as new features to enhance the gameplay experience. Enjoy playing Rock-Paper-Scissors! If you have any questions or need further assistance, please feel free to reach out.