Git Product home page Git Product logo

fantasy_cricket_py's Introduction

Fantasy Cricket Game in Python

ScreenShorts

image image image image

Internshala

image

Table of Contents

  1. Introduction
  2. Features
  3. Requirements
  4. Installation
  5. Usage
  6. How to Play
  7. Team Selection
  8. Points Calculation
  9. Contributing
  10. License

Introduction

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.

Features

  • 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.

Requirements

  • Python 3.6+
  • External libraries: random, json

Installation

  1. Clone the repository to your local machine:

    git clone https://github.com/yourusername/fantasy-cricket.git
  2. Navigate to the project directory:

    cd fantasy-cricket
  3. Run the game:

    python main.py

Usage

Follow the instructions displayed in the console to interact with the game.

How to Play

Team Selection

  1. Start the game by creating a new team.
  2. Choose players for your team from the available pool of cricket players.
  3. Manage your team by adding, removing, or substituting players.
  4. now save the team and make another team same method.
  5. 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 Calculation

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

Contributing

If you would like to contribute to this project, please follow the guidelines outlined in CONTRIBUTING.md.

License

This project is licensed under the MIT License.

fantasy_cricket_py's People

Contributors

rawhit02 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.