Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 587 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 587 Bytes

Bowling alley system

Execute: BowlingGameExecutor.java

Design:

    1. Book the lane
    1. Add players
    1. Start the game
    1. On finish display the winner
    1. Free the lane for new users

Booking to made synchronized.

Functional Requirement:

  1. Consistent.
  2. Game running on different lane is a different thread like a short process and should not affect any other lane.
  3. Maintain Lane status.
  4. Display Winner.
  5. Post booking each game lane is a new thread.

Non functional Requirement:

  1. Validate player in each game.
  2. Action on Booking synchronization failed.