Question
JAVA A games company wants to write a game system to allow users to register. A game can start when the minimum no of players
JAVA
A games company wants to write a game system to allow users to register. A game can start when the minimum no of players are registered. The game administrator can start and end a game. Users can play the game.
Draw a UML class diagram of the classes that could be used in this solution, including relationships. Assume the game has an id and a name and minimum no of player attributes. Assume that the Administrator and player are two different types of users of the system and both have an id and name.
Write source code to define classes and their relationships as shown in the UML class diagrams drawn for question 6(b). Note: You can implement the methods to register, start and stop by simply displaying different messages.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started