Metadata-Version: 2.1
Name: handy_cricket
Version: 1.0.0
Summary: A fun, interactive hand cricket game where you can play against the computer.
Author: Ramakrishna Pavan
Author-email: pavanm630@gmail.com
License: MIT
Project-URL: Source Repository, https://github.com/krishnapavan630
Description-Content-Type: text/markdown
License-File: LICENSE.txt

# Hand Cricket

A fun, interactive hand cricket game where you can play against the computer. Choose to bat or bowl and see if you can win!

## Features

- **Interactive Gameplay**: Play against the computer in a classic hand cricket match.
- **Toss Mechanism**: Choose "Even" or "Odd" for the toss to decide your role.
- **Batting and Bowling**: Experience both roles and aim to outscore the opponent.

## Installation

pip install handy_cricket
<!--(Add your installation instructions here.)-->

## Usage

- import handy_cricket
- handy_cricket.main()

This will automatically trigger the game, and you can start playing.
<!--(Add your usage instructions here.)-->


## Functions

Here is a quick overview of the main functions in the package:

### `main()`

Starts the hand cricket game. This function handles the main menu where you can start the game, view instructions, or exit.

### `start_game()`

Initiates the toss and begins the gameplay based on the userâ€™s selection (Even or Odd).

### `toss(opt)`

Handles the toss logic where the user chooses either Even or Odd.

### `user_batting()`

Executes the gameplay when the user chooses to bat first.

### `comp_batting()`

Executes the gameplay when the computer bats first.

### `show_instructions()`

Displays the instructions on how to play the game.
