An open API service indexing awesome lists of open source software.

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.

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.