This repository contains a text-based cricket game in Python. The game simulates a cricket match where the user takes the role of the batsman and faces balls delivered by the computer. The game provides options for the user to select from various shots based on the delivery's length and direction. The objective of the game is to score as many runs as possible while remaining unbeaten or managing a respectable total if the user is chasing a target.
-
Install the required Python packages: pip install
-
Run the
cricketProject.py
script: python cricketProject.py -
Follow the on-screen instructions to start a match and make your shot selections.
Contributions to this repository are welcome! To contribute, please fork this repository, make your changes, and submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.