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

  Using a truth table or equivalent determine following

Using a Truth Table or equivalent determine

  Systems analysis and design

What are the benefits of a thorough system requirements document? Drawbacks? How can a system requirements document be used to manage stakeholder expectations?

  Demonstrate critical awarenes-research theory and techniques

Demonstrate a critical awareness of previous research in an IT context - understanding of research theory and techniques.

  Productcost and productprice are numeric variables

if productCost and productPrice are numeric variables, and productName isa string variable, which of the following statements are valid assignments

  Websites be required to adhere to section standards

what is the purpose then? Do you think that all websites should be required to adhere to Section 508 standards? Why or why not?

  Determine what fraction of processor time is consumed

Consider a system employing interrupt-driven I/O for a particular device that transfers data at an average of 8 KB/s on a continuous basis.

  Use to monitor success and indicate a need for modification

What method would you use to monitor success and indicate a need for modification in a cloud computing environment?Needs to be 250 words and APA format and at least one reference with in-text citations.

  Systems analyst modifying the sales order process

Suppose that you are a systems analyst on a project that involves modifying the sales order process. How many do you need to sample if you want 95 percent certainty that you have covered all variations?

  What ''are the differences between a policy, a standard

What 'are the differences between a policy, a standard, and a practice? What are the three types of security policies? Where would each be used? What type of policy would be needed to guide use of the Web? E-mail? Office equipment for personal use?

  Different entities or objects, logical process

Different entities or objects, logical process, data flows, and data stores that are involved starting from the time of submitting a time sheet

  Difference in tossing a fair coin to get half-and-half hs-ts

When we toss a fair coin, we expect that we get roughly half-and-half Hs and Ts. Of course, this might not happen in general: the question is, how bad can the difference get?

  Clg lyk colg placement information

CLG lyk colg placement information and tieup with companys information

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