-
Notifications
You must be signed in to change notification settings - Fork 0
Development
Pratyush Singh edited this page Nov 14, 2024
·
2 revisions
- Build Game Logic
- Connect UI to Game Logic
- User Controls
- Profiles
- Analysis
- Service
- Launch
- Register Players
- Start a match with said players
- Decide who is serving
- Increase score of player
- End of Set logic
- Create a new set when needed
- Stop after 3 sets with winner and loser
- Retirement
- Undo
- Doubles serving logic ?
-
Player
- Fields:
- id
- name
- handedness
- Methods:
- switch handedness
- Fields:
-
Match
- Fields:
- player1
- player2
- sets
- player-serve
- player-side
- state: not started | playing | done
- winner
- loser
- Methods:
- switch sides
- get current set
- new set
- match done
- Fields:
-
Set
- Fields:
- points
- state: not started | playing | done
- Methods:
- get point
- increment
- undo point
- check if done
- Fields:
-
Point
- Fields:
- server
- winner
- path
- state: tap | sequence
- Methods:
- switch server
- Fields:
-
Shot
- Fields:
- x
- y
- Methods:
- Fields:
Footer innit?
Sidebar innit?