Question: JAVA Here is the full question: A games company wants to write a game system to allow users to register. A game can start when

JAVA Here is the full question: A games company wants to writeJAVA

Here is the full question:

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. Note: You can implement the methods to register, start and stop by simply displaying different messages.

Player GameMaster +Name: string +ld: int +Start:boolean +stop:boolean +JoinGame) +Registration +CheckPlayerAvailability0 +Engine ToolO +GameCreator Administrator JoinGame +Name: string +ld: int GateWay server +1. +PlyerCount:int +JoinGame0 +CheckPlayerO +Input: boolean +Output: boolean +Game_MasterO +Start0 +Stop0 GameCreator CheckPlayer +Start: boolean +Stop: boolean +count int

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!