Designing unique game world

Assignment Help Basic Computer Science
Reference no: EM13766988

Project Specification

Your task will be to first answer some questions testing your comprehension of the partial solution, and then to extend this partial solution to provide additional features:

1. Answer the questions listed below under Part A - save your answers into a Word document for submission along with remainder of your assignment.

2. Design your own unique game world, which must exhibit the following characteristics:
a. It should consist of between 10 and 20 interconnected locations (please don't exceed this limit as it will slow down the marking process)
b. All eight possible directions of movement (N, S, E, W, NE, SE, SW, NW) must be used at least once in the game map.
c. The world should contain 10 objects. At least one location must contain no objects, and at least one location must contain multiple objects.
d. Every location and object must have its own unique description.
e. There must be a specified ‘goal' location which the player is aiming to reach - this will be used later within Stage 6 of the project.
Your design should be clearly documented in the form of a world map and table of descriptions similar to the example provided on moodle.

3. Extend the menu and related code so that the player can also move in the ordinal directions (northeast, south-east, south-west, north-west)

4. Modify the program code and data so as to implement the game world designed in Stage 2.

5. Add a ‘quit' option to the menu, and modify the loop in the main() method so that it exits if the user enters this command.

6. Further modify the loop so that it exits and displays a suitable congratulatory message if the player reaches a specific ‘goal' location within the game-world.

7. Modify the room description method so that the player automatically picks up any objects in their current location. If the room description is redisplayed, those objects should no longer be listed as being in that location (hint: use a special value such as -1 to indicate that an object is in the player's possession).

8. Add an additional ‘inventory' command to the menu and implement a method which is called when this command is entered, which will list all of the objects currently in the player's possession.

9. Now that no further commands will be added to the menu, modify the menu code to ensure that a valid selection has been made by the player. If not, display an error message and prompt them to enter a new value. Repeat this until valid input is obtained.

10. This is the most advanced aspect of the project - do not attempt this unless you have all the other requirements working. Modify the program code so that the goal location cannot be entered unless the player is carrying a particular object (e.g. a key). If the player tries to enter the room without this object then an appropriate message should be displayed. For full marks for this section, your
solution should be easily applicable to other game worlds (for example worlds with multiple locked doors).

Reference no: EM13766988

Questions Cloud

The constant dividend growth model : The constant dividend growth model is:
What interest rate did she obtain on her investment : A woman made ten annual end-of-the-year purchases of $1000 of common stock. At the end of the tenth year, she sold all the stock for $12000.  What interest rate did she obtain on her investment?
Annual return mean and standard deviation : DW Co. stock has an annual return mean and standard deviation of 12 percent and 33 percent, respectively. What is the smallest expected loss in the coming year with a probability of 5 percent? A stock has an annual return of 11.8 percent and a standa..
Aware of the involvement of department of homeland security : Your director is not aware of the involvement of the Department of Homeland Security (DHS) with private enterprise and has requested an information paper that provides her with an explanation about why this is important and how the DHS engages pri..
Designing unique game world : Answer the questions listed below under Part A - save your answers into a Word document for submission along with remainder of your assignment. Design your own unique game world, which must exhibit the following characteristics:
Describe your selected job fields educational requirements : Write a 200- to 350-word summary describing your selected job's or career field's educational requirements; types of programs or software knowledge needed; and the required professional experience.
Look for the balance amount due to be paid by bank : you have taken a loan of 320000 from a bank for the 5 years at the prevailing rate of 3.75% , Calculate the annual instalment you are liable to pay to the bank and create a loan amortization table for a quick access to the principle and interest paid..
The roles of qualitative and quantitative science : Describe geographic evidence collected in the last part of the 20th century to support the theory of continental drift.
A focused version of the company''s strategy : In many ways, marketing strategy is a focused version of the company's strategy and, as such, should be aligned with the financial and other goals of the organization. For most organizations, growth is necessary in order to continue to fund innovatio..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  For each of these pairs of sets determine whether the first

for each of these pairs of sets determine whether the first is a subset of the second the second is a subset of the

  Write the code to read the name of a baseball team

Write the code to read the name of a baseball team, the number of games won, and the number of games lost, and display the name of the team and the percentage of games won.

  Write general set of instructions will allow us to change

Write a general set of instructions that will allow us to change any displayed value (from 0 to 9) to any desired value (from 0 to 9) in the least number of steps. For example, if the displayed value is 1 and the desired value is 0,

  What will be the eventual proportion of the bandwidth

Assume that the queue size is infinite without buffer overflow (no packet loss), and the maximum window of the TCP sender is 20 packets, with each packet having 1500 bytes.

  Choose one schedule development tools

In this discussion, choose one of the schedule development tools introduced or another tool that you are already familiar with that was not identified in the studies. Identify the tool and complete the following.

  What is the order of the leaf node

The order of a leaf node in a B+ tree is the maximum number of pairs it can hold.

  What kind of trend model should be used

What kind of trend model should be used in each of the following cases?a) The variable is increasing by a constant rate.b) The variable is increasing by a constant rate until it reaches saturation and levels out.c) The variable is increasing by a con..

  Creating report by city and by product to record sales

Create a report by city and another by product, including details of the sales and sub-totals and totals for quantity.

  Explain the steps take to stop cyber squatter explain the

explain the steps take to stop cyber squatteryou are a owner of the register trademark and you just found that domain

  Creating and configuring virtual machine settings

Assignment Preparation: Activities include completing the Microsoft® Official Academic Course (MOAC) Labs, completing the Microsoft® Official Academic Course (MOAC) Lab Challenges, independent student reading, and research.• Complete MOAC Lab 7, "Cre..

  The way to call two functions with the onclick event

add the image so when click on the image it will submit the amount. Also is this the way to call two funtions with the onclick event?

  What is the total efficiency of the protocol

Consider two nodes A and B uses the slotted ALOHA protocol to contend for a channel. Suppose node pA and pB are A and B's retransmission probabilities. Provide a formula for node A's average throughput. What is the total efficiency of the protocol..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd