🏏 Cricket Scoreboard · Mission 5 of 8
⏱️ Overs
An over is 6 balls. The scoreboard shows overs like 2.3: two whole overs and three balls. Work it out from the balls the batters have faced.
Your mission
- balls = every batter's balls added up (in the totals loop).
- overs = floor(balls / 6) + "." + balls % 6: whole overs, a dot, then the balls into the next.
- Keep the total, wickets and the rules from before.
Getting the mission ready…