- HTML
- JavaScript
- CSS
- 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