Enter Opponent Score:
Select a number to play:
Step 1: Enter the opponent's score in the input field and click "Update Opponent Score".
Step 2: Choose a number from 1 to 6 by clicking the numbered buttons. This number represents your "runs" for that ball.
Step 3: The computer (opponent) will randomly choose a number.
Step 4: If your number matches the opponent’s, you are out, and the game ends. If the numbers don’t match, your chosen number is added to your score.
Step 5: Keep playing until you are out. The game will display whether you won, lost, or tied based on the scores.
This is how the user can enjoy a quick and fun hand cricket game right in the browser!