Hand Cricket is a simple CLI game where you play against a bot in a two-innings match. You toss, choose to bat or bowl if you win, and play by selecting numbers between 1 to 6 — with the bot randomly responding.

Features

  • Toss logic with odd/even input

    How it works

    You choose odd or even and then choose a number. If sum of the bot’s choice number and the number you chose, is even, the person who chose even at the start will win the toss

  • Choice between Batting and Bowling
  • Loops to simulate turns
  • Game ends on matching numbers

    i.e the batsman and the bowler choose the same number

  • Score is compared at the end
  • Emojis add extra fun!

Link to the game: Google drive

User won the toss User batting gameplay Final score and result
Gameplay screenshots from the terminal.