Create an infinite game loop

Assignment Help Python Programming
Reference no: EM131804198

Aim

This assignment is intended to assess your skills in understanding and interpreting a moderately complex problem, designing a solution to the problem, and implementing the design using principles of correct syntax, layout, and program structure. The objectives are to produce a program that:

- Follows the specifications accurately.
- Implements programming principles covered in the course i.e. is well structured, is reasonably efficient, and demonstrates little to no errors.
- Has been thoroughly tested.
- References are appropriate.

- Obeys the Unitec programming standards.

Instructions

It is your responsibility to clarify any unclear aspect of the assignment with your lecturer.

The work is designed as an Individual Assignment.

Before the due date, you must give a presentation to demonstrate your submitted program.

Demonstrations will be held in the week of submission, and are compulsory, or your assignment may not be marked.

This assignment must be your own work.

You must then convert your design into a Python program. Your final program must compile correctly using Python IDLE as configured in Unitec computing labs. Your final program should be error free and well laid out.

Assignment information

A text-based game, using programming principles discussed in class.

Implementation

(User Input)

Create an infinite game loop which will ask the user to enter commands.

Your program should interpret commands the user enters and perform actions accordingly.

o If the user types 'help', a message displaying all available commands will be displayed to the user.

If the user types 'quit', the program will end.

Your program should recognize commands regardless of capitalization. For example, if the user types 'Help',

'HELP', or 'help', they should all give the same output.

(Map) Your program should display a map which lets the user know which room they are in, relative to the entire map.

The map should look like this:

As the player progresses through the game, it updates the map displaying which room they are in (marked as x)

(Navigation)o Throughout your program the user will need to progress through a series of rooms. o Your program should allow the user to progress through these rooms, only by typing the designated command for that room. (E.g. room #1: the player must type 'crawl' to progress, room #2: the player must type 'climb' to progress, etc.)

It is up to you to decide which commands the player must type to proceed. Do not repeat the same command name for different rooms.

(Additional features) Add some extra functionality to the other rooms to make the game more interesting/difficult for the player.

Verified Expert

This program is a text-based game built in Python 3 where the player will have to traverse through a series of rooms starting from 1 to 8 with the help of commands available. Along with that, there are two mini-puzzles in the game to make it more interesting and challenging: Guessing game and Sort the array. Several other functionalities are available through commands like help, save, load, map, quit. The program contains only built-in Python 3 functions and thus no extra python bindings are needed to run the program. PyCharm Community 2017.3 has been used to develop the game.

Reference no: EM131804198

Questions Cloud

Create the project schedule in ms project : Using the data for Problem 08.05, create the project schedule in MS Project. Be sure to use both the predecessor relationships and the resource assignments.
How much interest income is recognized by the investor : Using the effective interest method, how much interest income is recognized by the investor in 2016
Determine the amount of cash used for operating activities : Paid to suppliers and employees - $127,000. Determine the amount of cash used for or provided by for operating activities by the direct method
Explain what is a marketing channel : Explain what a marketing channel is and why intermediaries are needed. A marketing channel is a business structure of interdependent organizations.
Create an infinite game loop : ISCG 5420 Programming - design into a Python program. Your final program must compile correctly using Python IDLE as configured in Unitec computing labs
What kind of marketing channel functions can be performed : Define the types of channel intermediaries and describe their functions and activities. The most prominent difference separating intermediaries.
Supporting detail pertaining to cost estimates : Question: What are some examples of supporting detail pertaining to cost estimates?
What are the minimum lease payments : Krause uses the straight-line method to depreciate its assets. What are the minimum lease payments? What should be considered the lease term
What is the time value of money : What is the "time value of money," and why is it relevant to project management?

Reviews

inf1804198

2/20/2018 5:16:10 AM

dear if it did not work 26923349_15420 Assignment ss 20.docx then please see the image for another codes 26923350_12018-01-09-PHOTO-00000027.jpg

len1804198

1/9/2018 1:40:03 AM

This assignment must be your own work. . You must then convert your design into a Python program. Your final program must compile correctly using Python IDLE as configured in Unitec computing labs. Your final program should be error free and well laid out. Submission Your final submission should contain: All your source code, error-free. >Any additional notes.

Write a Review

Python Programming Questions & Answers

  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.

  Write a program for checking a circle

Write a program for checking a circle program must either print "is a circle: YES" or "is a circle: NO", appropriately.

  Prepare a python program

Prepare a Python program which evaluates how many stuck numbers there are in a range of integers. The range will be input as two command-line arguments.

  Python atm program to enter account number

Write a simple Python ATM program. Ask user to enter their account number, and print their initail balance. (Just make one up). Ask them if they wish to make deposit or withdrawal.

  Python function to calculate two roots

Write a Python function main() to calculate two roots. You must input a,b and c from keyboard, and then print two roots. Suppose the discriminant D= b2-4ac is positive.

  Design program that asks user to enter amount in python

IN Python Design a program that asks the user to enter the amount that he or she has budget in a month. A loop should then prompt the user to enter his or her expenses for the month.

  Write python program which imports three dictionaries

Write a Python program called hours.py which imports three dictionaries, and uses the data in them to calculate how many hours each person has spent in the lab.

  Write python program to create factors of numbers

Write down a python program which takes two numbers and creates the factors of both numbers and displays the greatest common factor.

  Email spam filter

Analyze the emails and predict whether the mail is a spam or not a spam - Create a training file and copy the text of several mails and spams in to it And create a test set identical to the training set but with different examples.

  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.

  Create a simple and responsive gui

Please use primarily PHP or Python to solve the exercise and create a simple and responsive GUI, using HTML, CSS and JavaScript.Do not use a database.

  The program is to print the time

The program is to print the time in seconds that the iterative version takes, the time in seconds that the recursive version takes, and the difference between the times.

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