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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!