https://github.com/goyal-coder/cricket-game
This is a game made with html , css and js which works like stone paper scissor.
https://github.com/goyal-coder/cricket-game
Last synced: about 1 year ago
JSON representation
This is a game made with html , css and js which works like stone paper scissor.
- Host: GitHub
- URL: https://github.com/goyal-coder/cricket-game
- Owner: goyal-coder
- Created: 2025-01-28T15:33:17.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-28T15:35:16.000Z (over 1 year ago)
- Last Synced: 2025-02-12T12:54:50.078Z (over 1 year ago)
- Language: HTML
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Cricket Game
A simple web-based cricket game where you can choose from three options: Bat, Ball, and Stump.
The computer randomly chooses one of these options, and the winner is determined based on the standard cricket game rules.
Features
Choose between three options: Bat, Ball, and Stump.
The game evaluates the winner based on the following rules:
Bat vs Ball: Ball wins.
Ball vs Stump: Ball wins.
Stump vs Bat: Stump wins.
Same choices result in a tie.
Results (Wins, Losses, Ties) are dynamically updated and displayed.
Installation
Clone or download the repository.
Open index.html in any browser.
Enjoy the game and start playing!
bash
Copy
Edit
git clone https://github.com/your-username/cricket-game.git
Usage
Click on any of the three buttons to make your choice:
Bat
Ball
Stump
Technologies Used
HTML
CSS
JavaScript
License
This project is open-source and available under the MIT License.
Acknowledgements
Inspired by classic cricket-based games.
Basic web development practices were followed.