- Introduction
- Features
- Requirements
- Installation
- Usage
- How to Play
- Team Selection
- Points Calculation
- Contributing
- License
Welcome to the Fantasy Cricket Game in Python! This is a command-line based fantasy cricket game where users can create their own teams and evaluate their performance based on real-life cricket matches.
- Create and manage multiple teams.
- Select players from a predefined list of cricket players.
- Points are calculated based on the actual performance of selected players in real-life matches.
- Compare your team's performance with others.
- Python 3.6+
- External libraries:
random
,json
-
Clone the repository to your local machine:
git clone https://github.com/yourusername/fantasy-cricket.git
-
Navigate to the project directory:
cd fantasy-cricket
-
Run the game:
python main.py
Follow the instructions displayed in the console to interact with the game.
- Start the game by creating a new team.
- Choose players for your team from the available pool of cricket players.
- Manage your team by adding, removing, or substituting players.
- now save the team and make another team same method.
- Evaluate both the Teams for match1 and you can compare the points of both the team and see the result of both the teams
Points are calculated based on the performance of selected players in real-life matches. The points system is as follows:
- 1 point for each run scored
- 10 points for each wicket taken
- 5 points for each catch taken
- 20 points for a half-century
- 50 points for a century
- Additional points for boundaries and sixes
If you would like to contribute to this project, please follow the guidelines outlined in CONTRIBUTING.md.
This project is licensed under the MIT License.