Skip to content

athalia123/java-tennis-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

145 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Personal Project

Summary (Tennis Match Statistics)

The application will track the points progress in a tennis match between two opponents, also taking data on how they were won or lost. This would be useful for tennis players who find it difficult to keep track of points during a match. I played competitive tennis in high school and would have found match statistics to be very helpful in understanding how I played.

User Stories

  • As a user, I want to add a new match to the overall list
  • As a user, I want to set what kind of match I will be playing
  • As a user, I want to view list of matches played
  • As a user, I want to view the status of each match
  • As a user, I want to view just the list of ongoing or finished matches
  • As a user, I want to view the current overall points of the match
  • As a user, I want to remove a selected match from the overall list of matches
  • As a user, I want to be given the option to save the list of matches to file before quitting the app
  • As a user, I want to be given the option to load the list of matches from file on starting the app
  • As a user, I want to specify if the serve during a point was an ace or double fault

Instructions for End User

  • You can add a new match to an overall list of matches by clicking on the "create new Match" button, filling out all the fields and clicking "confirm"
  • You can generate the first required action related to the user story "remove a selected match from the overall list of matches" by selecting a match then click on the "remove match" button
  • You can generate the second required action related to the user story "view just the list of ongoing or finished matches" by selecting a filter on the dropdown next to the the "create new Match" button"
  • You can locate my visual component by finding the small tennis ball image the left of matches that are ongoing
  • You can save the state of my application by clicking on the menu tab on the top left corner labeled "Save and Load Actions", and selecting "Save data to file"
  • You can reload the state of my application by clicking on the menu tab on the top left corner labeled "Save and Load Actions", and selecting "Load data from file"

Phase 4: Task 2

APPLICATION CLOSED, EVENT LOG: Thu Aug 07 06:45:10 PDT 2025 match added to matches list Thu Aug 07 06:45:20 PDT 2025 server points updated Thu Aug 07 06:45:20 PDT 2025 serves statistics updated Thu Aug 07 06:45:23 PDT 2025 server points updated Thu Aug 07 06:45:23 PDT 2025 serves statistics updated Thu Aug 07 06:45:27 PDT 2025 receiver points updated Thu Aug 07 06:45:27 PDT 2025 serves statistics updated Thu Aug 07 06:45:29 PDT 2025 receiver points updated Thu Aug 07 06:45:29 PDT 2025 serves statistics updated Thu Aug 07 06:45:31 PDT 2025 receiver points updated Thu Aug 07 06:45:31 PDT 2025 serves statistics updated Thu Aug 07 06:45:35 PDT 2025 server points updated Thu Aug 07 06:45:35 PDT 2025 serves statistics updated Thu Aug 07 06:45:38 PDT 2025 receiver points updated Thu Aug 07 06:45:38 PDT 2025 serves statistics updated Thu Aug 07 06:45:46 PDT 2025 receiver points updated Thu Aug 07 06:45:46 PDT 2025 serves statistics updated Thu Aug 07 06:45:46 PDT 2025 game reset for next round Thu Aug 07 06:46:24 PDT 2025 match removed from matches list

Phase 4: Task 3

If I had more time, I would want to refactor the PlayerGame and PlayerMatch class because I realize now that they might be a little redundant. I could have created an abstract class called Player that PlayerMatch and PlayerGame could have extended because they have some similar parts. It would make updating the Statistics class easier too because PlayerGame and PlayerMatch (being the same player) would have access to the same Statistics field.

About

Tennis match score tracker, made with Java. CPSC 210 project.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages