Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create a Fantasy Cricket game in Python. The game should have all the features displayed in the mock - up screens in the scenario. To
Create a Fantasy Cricket game in Python. The game should have all the features displayed in
the mockup screens in the scenario. To calculate the points for each player, you can use
rules similar to the sample rules displayed below.
Sample of Rules
Batting
point for runs scored
Additional points for half century
Additional points for century
points for strike rate runsballs faced of
Additional points for strike rate
point for hitting a boundary four and points for over boundary six
Bowling
points for each wicket
Additional points for three wickets per innings
Additional points for wickets or more in innings
points for economy rate runs given per over between and
points for economy rate between and
points for economy rate less than
Fielding
points each for catchstumpingrun out
Database Design
For the database, you are required to use three tables match, stats and teams.
match
Player Scored Faced Fours Sixes Bowle
d
Maide
n
Given Wkts Catche
s
Stumpin
g
RO
Run Out
teams
name players value
Programming with Python
Final Project
stats
player matches runs s s value ctg
Note: The teams table will be populated after score calculation. The data to enter in the remaining
two tables is given below:
Hint: If you are wondering where to start and how to plan your work, here are some
suggestions.
i First, create the database of players. Plan the required tables and add data to your
database.
ii Next, create the GUI. Generate the required Python code for the UI
iii. Finally, populate the Python code generated in step ii with more attributes and method
definitions action listeners
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started