Object Oriented Development - Diffusing a Bomb - Engineering Assignment Help

Download Solution Order New Solution
Assignment Task :

Overview
Submission Details

  • Submit the expected code files as an answer to the task via OnTrack submission system.
  • Submit all C# code files of the classes created, along with any other documentaAon
  • Make sure that your programs implement the required funcAonality. They must compile and have no runAme errors.
  • Programs causing compilaAon or runAme errors will not be accepted as a soluAon. You need to test your program thoroughly before submission. Think about potenAal errors where your program might fail.

Purpose: Demonstrate deep understanding of classes, objects
Task: Build a game where an agent aIempts to reach a grid locaAon by getAng feedback from the environment

Resources:
You will build an agent to diffuse a bomb in 2D grid. Your agent will start randomly at a place, and will wait for your instrucAons to move a number of steps in x direcAon and a number of steps in y direcAon. Game (or environment) should give feedback to your agent by telling their distance to the bomb. 

 

In this task you are suppose to create a mulA-player game (Hint: Start with just one player). You will be designing an agent that can move in x or y direcAons on a two-dimensional grid. The number of steps can be specified by the user (of the agent). For example, move 3 steps in x and 2 steps in y direcAon.
You will randomly place a bomb in a grid. Make your code flexible to specify the size of the grid.
  

For starters, you will be make a ‘game’ class which will be composed of mulAple players (or agents), and of course the grid. The game will hide the bomb somewhere in the grid. It also has a method that returns the distance of any grid point to the locaAon of the bomb.
An agent has two properAes: locaAon-x, and locaAon-y, which changes from ge]ng the input from the player.
The game will get an input from the user (or someone manifesAng the agent), and move the locaAon of the agent. A^er every move, it will tell the distance of the new locaAon to the place of bomb.
Once you have implemented the desired funcAonality, do following tasks to make your program more cool:
a)
add a Amer, James Bond has to be quick in diffusing the bomb, otherwise, the bomb will explode.
b) Add mulAple players, see who wins first. Each player takes turn.
c) Make your agent versaAle, by giving him different roles. The role differs in how they can move on the grid, similar to different pieces in a game of chess. You as a player can specify which role, you want to take, and then play with that role. You only need to specify more than one.
Two roles are perfectly fine. But its is up to you how many you want to incorporate. Doing this task, will help you in doing the HD acAvity later in the course, where you and build an a game of chess, as a side project.

 

This Engineering Assignment has been solved by our Engineering 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.