Project- add time and object interaction to the simulation

Assignment Help Python Programming
Reference no: EM131061929

Project: Add Time and Object Interaction to the Simulation

Addendums

Addendums to the project will be posted at: https://www.cs.uoregon.edu/Classes/16S/cis211/Projects/P4/P4.html

This specification is very detailed, and will very likely require corrections and clarifications. The sooner that you notify the teaching staff of potential issues with the specification, the sooner any issues can be addressed. Please check for new addendums frequently, such as whenever you resume work on your project.

Purpose

• Bring the simulation to life with simulated time and object interaction.

• Illustrates the alternative flow of control for errors provided by try/catch in place of returned error codes.

• Demonstrates the benefits of well-designed data abstraction and modularity in that most methods and functions need no modification or consideration at all, but continue to do their jobs flawlessly and abstractly.

• Demonstrates, through a final installment, how to iteratively develop a solid 500 loc (lines of code)

Overview of New System Behavior

The simulation now includes the passing of time.

Simulated time advances in jumps, with time "frozen" while the user enters commands, and then jumping ahead one minute every time the user issues a "go" command, which simulates the passing of one minute of time. Each of the two command interpreter prompts are now preceded by "Time x " in which x is an integer representing the elapsed time, in minutes. For example: "Time 0 FILE>" or "Time 5 >" Time starts at 0 minutes for every run of the simulation

Humans and Robots move one grid unit per minute.

Travelers can now receive a series of destinations. Each destination must be a Waypoint or an x,y location on the grid. Each traveler that is currently moving moves one grid unit towards the next destination every minute. Consecutive destinations must be in the same row, or the same column, but not both, and is discussed in more detail later in the project description.

Robots fight Fires.

Robots can be moved to fire locations, and can extinguish the fires. All fires start with a strength of "5". The strength of a fire decreases at a rate of one unit per minute for every robot that is currently extinguishing it.

This project will utilize the Model.py, Controller.py, View.py files from the last project that I sent you. Let me know if you're able to do this.

Attachment:- Assignment.rar

Reference no: EM131061929

Questions Cloud

Presenting and communicating collected information resources : Read Chapter 6, "Present and Communicate the Information," pages 135-161. This chapter focuses on the fourth step of the EbM model. Once one has gathered information, it takes organization and preparation to communicate the information and the ins..
Describe the main purpose or problem presented : Describe the main purpose or problem presented in this article - List the hypotheses or research questions
Determine the moments of inertia and the radii : Two channels are welded to a rolled W section as shown. Determine the moments of inertia and the radii of gyration of the combined section with respect to the centroidal x and y axes
Differentiate short term from long term problems : Briefly identify the major problems facing the manager and Summarize the recommended plan of action and include a brief justification of the recommended.
Project- add time and object interaction to the simulation : Project: Add Time and Object Interaction to the Simulation. Bring the simulation to life with simulated time and object interaction. Illustrates the alternative flow of control for errors provided by try/catch in place of returned error codes
Combining marketing and psychology perspectives : Examine the role of ethics incorporating concepts from the field of marketing and psychology Discuss how combining marketing and psychology perspectives/methods would contribute to the resolution of the problem/challenge
Write a set of action queries coded as a transaction to move : Write a set of action queries coded as a transaction to move rows from the Invoices table to the InvoiceArchive table. Insert all paid invoices from Invoices into InvoiceArchive, but only if the invoice doesn't already exist in the InvoiceArchive ..
Traits useful for selecting international assignees : Choose three traits useful for selecting international assignees, and create a straightforward test (not pencil and paper) to screen candidates for these traits
Critical thinking legal question : Critical Thinking Legal Question Why has the federal government limited the application of the statutes discussed in this chapter to firms with a specified number of employees, such as fifteen or twenty? Should these laws apply to all employers, r..

Reviews

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