Bowling alley system
Execute: BowlingGameExecutor.java
Design:
-
- Book the lane
-
- Add players
-
- Start the game
-
- On finish display the winner
-
- Free the lane for new users
Booking to made synchronized.
Functional Requirement:
- Consistent.
- Game running on different lane is a different thread like a short process and should not affect any other lane.
- Maintain Lane status.
- Display Winner.
- Post booking each game lane is a new thread.
Non functional Requirement:
- Validate player in each game.
- Action on Booking synchronization failed.