MazeRunner Game Description - IT Assignment Help

Download Solution Order New Solution
Assignment Task
 

Java Programming Assignment
Your solution must be clearly separated into two separate parts, in separate Java packages:
• Part 1: (in package mazegame.engine): your Game Engine classes with Unit Tests.
• Part 2: (in package mazegame.gui): a JavaFX GUI that allows users to play your game, two packages will be created. Please keep that code structure unchanged.

MazeRunner Game Description
MazeRunner is a 2D game in a 10 x 10 grid maze map. The maze map consists of the following items:
• An entrance to the maze, which is located at the bottom left grid.
• A player, who is place at the entrance at the beginning of a game.
• An exit of the maze, which is randomly place in the map (must be different from the entrance).
• 5 gold coins, each of which is placed at a random grid.
• Some traps, each of which is placed at a random grid. Once in a trap, the player needs to pay 1 coin to pass. If no gold left, the player loses the game.
• Some apples, each of which is placed at a random grid. The layer has an initial stamina which are consumed by each movement. Picking up an apple can increase the stamina. If no stamina left, the player cannot move and the game ends.
The goal is to move the player from the entrance to the exit while 1) keeping as many gold coins as possible, and 2) maintaining non-negative stamina.
The followings are its key features and settings.
• To start a new game:
1. The player input an integer d, the difficulty level of the game. d should be in the range of 0 – 10, and it has the default value of 5.
2. The player clicks a “Run” button to start the game, which triggers the random generation of the map.
• Random generation of the map:
1. An entrance cell is placed at the bottom left cell.
2. The player will appear in the entrance cell with the stamina “12”.

3. An exit cell is placed randomly in the map.
4. 5 gold coins are placed randomly in the map.
5. d traps are placed randomly in the map.
6. (10 - d) apples are placed randomly in the map.
7. The entrance, exit, gold coins, traps, and apples should not overlap.

• To play a game:
1. The player can move in 4 directions: left, right, up, and down inside the map. Moving out of the grid map is not allowed.
2. Each move reduces the stamina by 1.
3. Visiting a trap reduces 1 gold coin from the player’s collection. If the player has no gold coin at the time of entering a trap, the player loses the game. The trap remains there after the visit.
4. Visiting an apple increases the stamina by 3. The apple is eaten, and the cell becomes empty.
5. Visiting a gold coin increases

 

This IT Assignment has been solved by our IT experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.
Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.