Skip to content

Saket2911/HandCricket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ Hand Cricket Game (Python Tkinter)

A simple Hand Cricket Game built using Python and Tkinter, where a user plays against the computer by choosing numbers from 1 to 5.


๐ŸŽฎ Game Features

  • Graphical User Interface using Tkinter
  • Batting and Bowling modes
  • Randomized computer choices
  • Automatic score calculation
  • Final match result (Win / Lose / Tie)
  • Beginner-friendly Python project

๐Ÿง  How the Game Works

Batting

  • You select a number (1โ€“5)
  • Computer randomly selects a number
  • If both numbers match โ†’ You are OUT
  • Otherwise, your selected number is added to your score

Bowling

  • You select a number (1โ€“5)
  • Computer randomly selects a number
  • If both numbers match โ†’ Computer is OUT
  • Otherwise, computer score increases

After both innings, the winner is decided.


๐Ÿ›  Technologies Used

  • Python 3
  • Tkinter (GUI)
  • Random module

โ–ถ How to Run

  1. Make sure Python is installed
  2. Clone the repository:
    git clone https://github.com/Saket2911/AidConnect-InnovateX-.git

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages