View Code? Open in Web Editor
NEW
Digicricket is the Digital version of the classic game - hand cricket. This project has been made using HTML, JavaScript and CSS
Home Page: https://vinayakhanda.github.io/digicricket
License: Other
HTML 30.92%
JavaScript 53.45%
CSS 15.63%
digicricket's Introduction
Digicricket is the digital version of a classic game - hand cricket.
This project has been made using -
- First of all open the game
- Then by default your role will be Batting
- You have to click on buttons according to your choice
- On the other hand computer is randomly selcting numbers from between 0-5
- If your choice and the computer choice are the same then you are out
- After that you have to do balling and the computer is now doing batting
- Then if your and the computers choice is same then the computer is out
- Then if your score is greater than the computer's you won else you win
- Now reload the page if you want to play again