{"id":15014459,"url":"https://github.com/hariprasath-v/advanced_cricket_tournament_simulation","last_synced_at":"2026-04-04T00:03:54.646Z","repository":{"id":189466381,"uuid":"680728458","full_name":"hariprasath-v/Advanced_Cricket_Tournament_Simulation","owner":"hariprasath-v","description":"Simulate cricket matches between two teams with this command-line program.","archived":false,"fork":false,"pushed_at":"2023-10-12T04:04:13.000Z","size":529,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-13T00:17:29.606Z","etag":null,"topics":["cricket","cricketgame","cricketsimulation","ipython","matplotlib","numpy","pandas","python","random","seaborn"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hariprasath-v.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-20T07:45:37.000Z","updated_at":"2023-08-20T09:26:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"6d013544-370c-4e1a-8423-85a6dbfd7c84","html_url":"https://github.com/hariprasath-v/Advanced_Cricket_Tournament_Simulation","commit_stats":null,"previous_names":["hariprasath-v/advanced_cricket_tournament_simulation"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hariprasath-v%2FAdvanced_Cricket_Tournament_Simulation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hariprasath-v%2FAdvanced_Cricket_Tournament_Simulation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hariprasath-v%2FAdvanced_Cricket_Tournament_Simulation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hariprasath-v%2FAdvanced_Cricket_Tournament_Simulation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hariprasath-v","download_url":"https://codeload.github.com/hariprasath-v/Advanced_Cricket_Tournament_Simulation/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243313409,"owners_count":20271178,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cricket","cricketgame","cricketsimulation","ipython","matplotlib","numpy","pandas","python","random","seaborn"],"created_at":"2024-09-24T19:45:39.727Z","updated_at":"2025-12-29T00:46:24.324Z","avatar_url":"https://github.com/hariprasath-v.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Advanced_Cricket_Tournament_Simulation\n\nSimulate cricket matches between two teams with this command-line program.\n\n## Overview\n\nThe Cricket Simulation Program allows you to simulate cricket matches and analyze player performances. The simulation program consists of the following classes.\n- Players: This class gathers player information and presents it in a structured dataframe format.\n- Teams: Utilize the Teams class to designate team captains, arrange batting orders, and establish the list of bowlers. It leverages player information to make informed decisions.\n- Umpire: The Umpire class plays a pivotal role in predicting ball outcomes, enhancing the simulation's authenticity.\n- Commentator: Enjoy dynamic match commentary throughout the simulation with the Commentator class, adding a lively aspect to the experience.\n- Match: The Match class encapsulates the core simulation, replicating the dynamics of a cricket game.\n\n\n## Features\n\n- Simulate matches between custom-named teams.\n- Set the number of overs for each match.\n- Display detailed statistics for each player, including runs scored, wickets taken, and more.\n\n\n## Installation\n1. Clone the repository\n```python\ngit clone https://github.com/hariprasath-v/Advanced_Cricket_Tournament_Simulation.git\n```\n2. Navigate to the cloned repo directory\n```python\ncd Advanced_Cricket_Tournament_Simulation\n```\n3. Install dependencies\n```python\npip install -r requirements.txt\n```\n\n## Usage\nrun the play.py (The player's information can be changed in this file)\n\nThe simulation proceeds through the following stages:\n\n1. Player Information Collection\n2. Captain, Batter, and Bowler Selection\n3. Coin Flip to Determine Play Choice\n4. First Innings Simulation\n5. Second Innings Simulation\n6. Post-Match Summary\n\nAfter the simulation, the program generates the following files within the folder named by the date of the simulation and both team names:\n\n- Innings Scorecard (Image Format)\n- Ball-by-Ball Summary (DataFrame Format)\n- Match Result (DataFrame Format)\n- Team's Score Comparison Chart (Image Format)\n\n### Demo simulation\n\nSample Scorecard\n![Alt text](https://github.com/hariprasath-v/Advanced_Cricket_Tournament_Simulation/blob/main/Country_a%20vs%20Country_b%202023-08-20/Country_a%20Scorecard.jpg)\n\nSample Score Comparison\n![Alt text](https://github.com/hariprasath-v/Advanced_Cricket_Tournament_Simulation/blob/main/Country_a%20vs%20Country_b%202023-08-20/Team%20Score%20Comparison.jpg)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhariprasath-v%2Fadvanced_cricket_tournament_simulation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhariprasath-v%2Fadvanced_cricket_tournament_simulation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhariprasath-v%2Fadvanced_cricket_tournament_simulation/lists"}