This project is a web-based implementation of the classic game "Rock Paper Scissors". It allows players to compete against the computer in a series of rounds. The game is built using JavaScript, HTML, and CSS.
v.1.1.0
- New favicon
- Now works offline
v1.0.0
- User-friendly interface for selecting rock, paper, or scissors.
- Random selection by the computer as the opponent.
- Real-time updates of the score after each round.
- JavaScript: Handles the game logic and generates random computer selections.
- HTML: Provides the structure and layout of the game interface.
- CSS: Adds styling and visual enhancements to the game.
To play the Rock Paper Scissors game, follow these steps:
- Open the this link in a web browser.
- Click on the button representing your choice (rock, paper, or scissors).
- The computer will randomly select its choice.
- The game will display the result of the round (win, lose, or draw) and update the score.
The project structure is as follows:
.
├── CodeFiles/
│ |── style.css
│ └── script.js
├── index.html
└── README.md
- The
CodeFiles
directory contains thestyle.css
file, which contains the CSS styles for the game interface. - The
CodeFiles
directory also contains thescript.js
file, which contains the JavaScript code responsible for the game's functionality. - The
index.html
file is the main HTML file that displays the game interface. - The
README.md
file provides information about the project.
You can customize the game's appearance and behavior by modifying the CSS and JavaScript files.
- To change the visual style, edit the CSS styles in the
style.css
file. - To modify the game's logic or add new features, modify the JavaScript code in the
script.js
file.
Contributions to the project are welcome. If you encounter any issues or have suggestions for improvements, feel free to submit a pull request or open an issue on the project repository.
- This project is a fun implementation of the classic Rock Paper Scissors game.
- Special thanks to the developers and contributors of the JavaScript, HTML, and CSS programming languages for providing the tools and resources necessary to build this project.