Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 834 Bytes

README.md

File metadata and controls

10 lines (9 loc) · 834 Bytes

java-cricket-scoreboard

This is my First Java Project which allows user to track score of cricket match by inputting details of each team, including runs extras, and wickets for each over. The program provides a final summary of the match and determines the winner based on total runs.

Features

  • Team Setup: Input the names of two cricket teams.
  • Match Overs: Enter the number of overs to be played in the match.
  • Score Entry: Input runs for each ball in every over, including handling extras (wides and no-balls).
  • Wickets Tracking: Track the number of wickets fallen and stop input when the team is all out.
  • Match Summary: View a detailed scorecard and a concise summary of the match, including total runs, extras, and wickets.
  • Winner Calculation: Automatically calculates and displays the winner based on total runs.