/man-of-the-match

Man of the match award for cricket game in Python

Primary LanguagePython

man-of-the-match

Man of the match award for cricket game in Python

The 'Man of the Match' award of a cricket match is decided by computing points earned by players. The points are calculated on the basis of the following rules:

Batting: 1 point for 2 runs scored Additional 5 points for a half-century Additional 10 points for a century 2 points for strike rate (runs/balls faced) of 80-100 Additional 4 points for strike rate>100 1 point for hitting a boundary (four) and 2 points for over boundary (six)

Bowling: 10 points for each wicket Additional 5 points for three wickets in innings Additional 10 points for 5 wickets or more in innings 4 points for economy rate (runs given per over) between 3.5 and 4.5 7 points for an economic rate between 2 and 3.5 10 points for an economy rate less than 2

Fielding: 10 points each for catch/stumping/run out

----- This code is written by Shubham Lingayat -----