pyBegin / projects / handcricket
🎮

Hand Cricket Game

This is a simple command-line-based Hand Cricket game implemented in Python. It allows you to play cricket against a computer opponent. You can eit…

168 linesRunnable

Hand Cricket Game

Overview

This is a simple command-line-based Hand Cricket game implemented in Python. It allows you to play cricket against a computer opponent. You can either choose to bat first or bowl first and select the difficulty level of the computer opponent.

Features

Installation

  1. Clone this repository to your local machine:

    git clone https://github.com/your-username/hand-cricket-game.git
    
  2. Navigate to the project directory:

    cd hand-cricket-game
    

Usage

  1. Open your terminal or command prompt.

  2. Navigate to the project directory.

  3. Run the game using Python:

    python main.py
    
  4. Follow the on-screen instructions to play the game.

Game Rules

Contributing

Contributions are welcome! If you'd like to contribute to this project, please follow these steps:

  1. Fork the project.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them.
  4. Push your changes to your fork.
  5. Submit a pull request to the main repository.

Acknowledgments

Pyodide-runnable

Yes — console game using only input()/print() and the standard-library random and time modules.