Assignment brief you are tasked with improving the code for

Assignment Help Python Programming
Reference no: EM13375946

Assignment Brief:

You are tasked with improving the code for the Haunted House game. Please read the associated hand-out and the code provided on Moodle. Although the implementation of your code is your own work, the ideas for which to implement and improve the code are free for public discussion. You are free to use code from the Internet or other sources but please cite the sources in the relevant program code. You will be given debate time and implementation time in class where we can collaborate on ideas and improve our understanding of coding in order to complete the tasks.

This task should take approximately 42 hours of implementation to complete. you will be given approximately 21 hours of class time to collaborate and undertake the individual tasks, use all of your time wisely.

Part-1

1. Improve the readability and structural design of the code by improving the function names, variables, and loops, as well as whitespace. Move functions close to related functions or blocks of code related to your organised code (software architecture).

2. Remove any runtime, sematic, and syntax errors. Make comments in the code and list the number of errors you have corrected and how you corrected each specific error.

3. Improve the game by including multiple commands that invoke the same functionality. For example the commands "LIST," "INVENTORY," "ITEMS" and "CARRYING" all list the items being carried by the player. You should be able to do this for all of the commands. However, you may limit your improvement to five of the commands. Improve the game by allowing players to enter mixed case input.

Part-2

1. You will add functionality to the game in the form of a Dungeon Master who will explain the task to complete the game (explain the win condition in a conversational style). You will define a win condition for the game, for example, collecting all items and returning to the entry point (location 0).

Note: The current win condition is to have a score of 17 and be in location 57. This is really obscure. It is possible with a condition like this when it is not explicit that players will never win. This is often called a dead man walking scenario.

2. You will re-factor (update) the display of available exits and other messages to be less cryptic, i.e., instead of "NE" you will display a message similar to "there are exits to the North and East."

3. You will add functionality to quit or exit the game using an appropriate command.

4. You will update the map functionality, such that only locations that have been visited will be displayed.

5. You will have functionality to "Save" the game state so that the game can be continued at a later stage. You will implement the functionality for "Loading" the saved game.

6. You will implement one of the following:

a. Improve the game by adding more features, for example you can examine more items, more props etc. You may implement this using more lists regarding items and props, remember, you should check if the object is being carried or in the location of the player.

b. Introduce random monster encounters and battles, for instance in the Haunted House you could introduce vampires, ghosts, werewolves, etc. You may have to look at role-playing combat systems that already exist, try to use existing combat systems.

c. Introduce a non-player character that uses AI to communicate with players.

Download:- HauntedHouse.rar

Reference no: EM13375946

Questions Cloud

If you are not currently employed find an article about a : if you are not currently employed find an article about a specific company using a balanced scorecard. cite the url and
The simple interest for buying a passenger transit rail is : the simple interest for buying a passenger transit rail is shown as the product of the principle amount p time in years
Project descriptionin this project you will work with a fax : project descriptionin this project you will work with a fax cover sheet an application letter and a resume. to complete
You are a newly recruited human resources officer at a : you are a newly recruited human resources officer at a large regional financial institution. the organisation is
Assignment brief you are tasked with improving the code for : assignment brief you are tasked with improving the code for the haunted house game. please read the associated hand-out
Choose a global business form the following - milk industry : choose a global business form the following - milk industry in australia and new zealandnbsp- car industry especially
1-suppose you deposit nbsp 5000 in the bank how much can : 1-suppose you deposit nbsp 5000 in the bank. how much can you raise after 10 years when discount rate is 5 for the
First pick a publicly traded healthcare company ideally a : first pick a publicly traded healthcare company. ideally a hospital corporation and that too with one that has the
Part-11ouyang inc had average days of sales outstanding of : part-11.ouyang inc. had average days of sales outstanding of 13 days in the most recent fiscal years. ouyang inc. wants

Reviews

Write a Review

 

Python Programming Questions & Answers

  Implement your algorithm in python

Write an algorithm in structured English (pseudocode) that describes the steps required to perform the task specified and reinforce topic material related to the programming work cycle, and the input, processing, output program structure.

  Evaluate a user''s expression

Write a function that will evaluate a user's expression. It should call the getExpression function that you previously wrote to get the expression to evaluate from the user. You should evaluate the expression step-by-step.

  Program to do the enciphering

Write a program to do the enciphering. It should prompt the user for a message, and print out both the entered message and its corresponding ciphertext.

  When we sort a list of items, we need a basis

When we sort a list of items, we need a basis on which to compare the items to see whether one is bigger than another. If it's a list of numbers, Python just compares the numeric values; if it's a list of strings, Python compares the strings alpha..

  Function by sum of sines

code the program using an editor (DO NOT COMMAND LINE THE PROGRAM) and show the results

  Write a python program to implement the diff command

Without using the system() function to call any bash commands, write a python program that will implement a simple version of the diff command.

  Define a function to calculate the values

Be sure to define a function to calculate the values and print the table displaying the interest rate in the first column, the monthly payment in the second column, and the total payment in the third column. Your program should not allow the user to ..

  Design a prgram using python

Design a prgram USING PYTHON that students can use to calculate what score they need on final exam to get a certan final grade for a course.

  Segment that prompts the user for an arithmetic operator

The variables x and y refer to numbers. Write a code segment that prompts the user for an arithmetic operator and prints the value abtained by appying that operator to x and y.

  Improve the readability and structural design of the code

Improve the readability and structural design of the code by improving the function names, variables, and loops, as well as whitespace. Move functions close to related functions or blocks of code related to your organised code.

  Function should return a dictionary

Write a function numOccur(s), where s is a string; the function should return a dictionary whose keys are the 26 ascii letters abcdefghijklmnopqrstuvwxyz

  Write a program using the ''requetinteger''

using python/jython programming write a program using the 'requetInteger' function that will ask the user to type a value that will draw a line from one point on a picture to another. I don't need specific help just a gerneral idea.

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