Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stephenombuya/rock-paper-scissors-game
This project is a simple Rock, Paper, Scissors game where users play against the computer. It allows players to choose between Rock, Paper, and Scissors and keeps track of scores until one player wins by reaching three points.
https://github.com/stephenombuya/rock-paper-scissors-game
arrays-and-strings css3 games html5 javascript responsive-web-design
Last synced: about 1 month ago
JSON representation
This project is a simple Rock, Paper, Scissors game where users play against the computer. It allows players to choose between Rock, Paper, and Scissors and keeps track of scores until one player wins by reaching three points.
- Host: GitHub
- URL: https://github.com/stephenombuya/rock-paper-scissors-game
- Owner: stephenombuya
- License: gpl-3.0
- Created: 2024-10-17T23:27:31.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-10-17T23:43:24.000Z (2 months ago)
- Last Synced: 2024-10-20T10:47:01.499Z (2 months ago)
- Topics: arrays-and-strings, css3, games, html5, javascript, responsive-web-design
- Language: JavaScript
- Homepage: https://rockyplay.netlify.app/
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# **Rock, Paper, Scissors Game ✊📜✂️**
This project is a simple Rock, Paper, Scissors game where users play against the computer. It allows players to choose between Rock, Paper, and Scissors and keeps track of scores until one player wins by reaching three points.### **Live Demo**
Rock-Paper-Scissors-Game - [Game](https://rockyplay.netlify.app/)### **Features**
- **User-Friendly Interface**: A clear layout with buttons for game options and score tracking.
- **Game Rules**: Detailed rules provided for new players.
- **Dynamic Scoring System**: Keeps track of both player and computer scores.
- **Reset Functionality**: Allows players to restart the game after finishing.### **Technologies Used**
- **HTML5**: For the basic structure of the game.
- **CSS3**: For styling the game interface.
- **JavaScript**: To handle game logic, user interactions, and dynamic updates.### **Project Structure**
```
Rock-Paper-Scissors-Game/
│
├── index.html # Main HTML structure
├── styles.css # CSS file for styling the game
├── script.js # JavaScript file for game logic
└── README.md # Project documentation
```### **How to Use**
1. Clone the repository:```
git clone https://github.com/stephenombuya/Rock-Paper-Scissors-Game
```2. Navigate to the project directory:
```
cd rock-paper-scissors-game
```3. Open the index.html file in your web browser:
```
open index.html
```4. Play the game:
- Click on one of the buttons (Rock, Paper, Scissors) to make your choice.
- The computer will randomly select its option.
- The results will be displayed, showing the current score and winner of the round.
- Once either the player or computer reaches 3 points, the winner will be displayed, and you can click "Play again?" to reset the game.### **Future Enhancements**
- **Styling Improvements**: Enhance the design with animations and transitions.
- **Mobile Responsiveness**: Ensure the game works well on mobile devices.
- **Advanced Features**: Add a best-of-five or best-of-seven game mode.
- **Player Statistics**: Track and display win rates over multiple games.### **Customization**
You can customize this game by:- **Changing the UI**: Modify styles.css to alter the game's appearance.
- **Adding New Features**: Expand the game rules or add more choices like Lizard and Spock for an extended version of the game.### **Browser Support**
This project works on modern browsers such as Chrome, Firefox, Safari, and Edge.### **Contributing**
Contributions are welcome! If you'd like to enhance the game, please fork the repository and submit a pull request or open an issue.### **License**
This project is licensed under the GNU License. See the [LICENSE](https://github.com/stephenombuya/Rock-Paper-Scissors-Game/blob/main/LICENSE) file for details.