Welcome to the Hand Cricket (Odd-Even) game! This console-based game allows you to play a simple hand cricket match against the computer.
Here're some of the project's best features:
- Toss and Choice: The game starts with a toss to decide who bats or bowls. The user chooses between even or odd.
- Batting and Bowling: Based on the toss result the player either bats or bowls.
- Runs: The user and the computer take turns to input the runs scored in each ball. The computer generates a random score for its turn.
- Out: If the user's input matches the computer's score the player is declared out and the turn ends.
- Game Result: The game concludes with a comparison of total runs. The player with the higher score wins.
1. Clone the repository to your local machine.
git clone https://github.com/your-username/hand-cricket.git
2. Navigate to the project directory.
cd hand-cricket
3. Run the game script.
python hand_cricket.py
4. Follow the on-screen instructions to play the game.
If you'd like to contribute to the development of this game feel free to fork the repository and submit pull requests!
This project is licensed under the This Hand Cricket (Odd-Even) game is licensed under the MIT License. Enjoy the game! 🏏