Answer to Question #153222 in Other for saba

Question #153222

Problem 1: Given the following Game to design, please answer the related questions in the next pages.

As a software engineer you are asked to design a three level board game with the following description of the game and the requirements 

This game will be a board game which user will start from the top left corner and will try to go to the bottom right corner. The board will have some of the rules and the features. 

• On the board some cells will be black which will indicate walls. Which doesn’t give and access to the user

• some of the cells will have a gold

• some of the cells will have a water

• some of the cells will have monster

• cells next to monster smell

• Monsters can move each direction one square 

• the user will use arrows in the keyboard to move in the game.

• Shift+(up arrow) is used to jump

• Shift+(right arrow) is used to swim

• user can use sword or arrow(arc) to kill the monster

• to use sword user should jump up first

• user can use shovel or a drill machine to dig the gold. The gold can be in 1-10 meters deep and shovel can only dig upto 5 meters.

• User will start with 70 points

• For every move user will lose 1 point

• Swimming through a cell costs 5 points

• Jumping over a cell costs 10 points

• each arrow cost 10 points

• using sword cost 5 points

• Using shovel costs 5 points and drill machine costs 15 points

• Finding gold earns 100 points

• Killing each monster earns 30 points. 

• User can have 5 arrows; Arrows can be used from 2 cells ahead. 

• Monsters blinks therefore when you shoot them it should corresponds to the time they are available. If user uses sword can be killed by the monster

 

 

 

 

 

 

 

Below is an example board design which M:monster, G:gold, S:Smelly, blue color represent water

 0

Some level specific rules are mentioned below

Level 1:

User should be able to move 1 square each time (any direction) 

User will be able to jump up

User will be able to use shovel to dig for the gold

User can use sword to kill the monster

 

Level 2

User should be able to move 1 square each time (any direction) 

User will be able to jump up and swim

User will be able use shovel to dig for the gold

User can use sword or arrow to kill the monster

 

Level 3:

User should be able to move 1 square each time (any direction) 

User will be able to jump up, swim and smell

User will be able to use shovel and drill machine to dig for the gold

User can use sword or arrow to kill the monster

The user will only be able to play the game if he has points. If the user has no points left before the end of the game, the game will be over and the user will lose. Some of the details of the game is not provided however you have enough information to complete the below questions. 

a) Please draw the Use case diagram for the above game(you can omit administrator of the system in your drawing) (20)

 

 

 

 

 

 

b) Please write “killing monster” scenario for level 3 (20)

 

 

 

 

 

 

 

c) Please draw a sequence diagram to go around the monster in level 3 . You can assume that all your function calls will return a positive answer (but you should call the functions)). Hint: Please find out first what kind of objects (classes) you would have for this part of the game. (20)

 


1
Expert's answer
2020-12-31T12:13:51-0500
Dear saba, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

Ask Your question

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS