Imagine that you are part of a team writing a new game Mean Arena. Your job...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Imagine that you are part of a team writing a new game "Mean Arena". Your job is to write code to control a character, who we will call "Tallon". The Arena is populated by monsters, called "Blue Meanies", and is filled with sludge pits and bonus stations. Tallon's objective is to survive for as long as possible, collecting bonuses, and avoiding both the pits and the Blue Meanies: if Tallon encounters either a pit or a Meanie they will immediately die and the game ends. To complicate matters, the number of Meanies increases over time --- every few seconds another Meanie spawns in the Arena. You will be provided with Python code that implements the Mean Arena (including Meanies, pits and bonus stations) and which provides an API that allows Tallon to move, and provides information on the location of pits, bonus stations and Meanies as well as Tallon themself. Note that Tallon's movement is non-deterministic, so that they do not always manage to move in the direction that they wish to. You should: a) Provide control code for Tallon that allows them to navigate the Arena for as long as possible when the dungeon is fully observable, meaning that Tallon can see everything in the Arena. [30 points] b) Provide control code for Tallon that allows them to navigate the Arena for as long as possible when the dungeon is partially observable, meaning that Tallon cannot see everything in the Arena. They can only see objects within a certain distance. [30 points] The solution to a) and b) may be the same piece of code, or two separate pieces of code, the choice is yours. c) Evaluate the performance of your code for a range of values of the size of the Arena, the numbers of pits and bonus stations, and the speed with which the Meanies spawn. [40 points] Imagine that you are part of a team writing a new game "Mean Arena". Your job is to write code to control a character, who we will call "Tallon". The Arena is populated by monsters, called "Blue Meanies", and is filled with sludge pits and bonus stations. Tallon's objective is to survive for as long as possible, collecting bonuses, and avoiding both the pits and the Blue Meanies: if Tallon encounters either a pit or a Meanie they will immediately die and the game ends. To complicate matters, the number of Meanies increases over time --- every few seconds another Meanie spawns in the Arena. You will be provided with Python code that implements the Mean Arena (including Meanies, pits and bonus stations) and which provides an API that allows Tallon to move, and provides information on the location of pits, bonus stations and Meanies as well as Tallon themself. Note that Tallon's movement is non-deterministic, so that they do not always manage to move in the direction that they wish to. You should: a) Provide control code for Tallon that allows them to navigate the Arena for as long as possible when the dungeon is fully observable, meaning that Tallon can see everything in the Arena. [30 points] b) Provide control code for Tallon that allows them to navigate the Arena for as long as possible when the dungeon is partially observable, meaning that Tallon cannot see everything in the Arena. They can only see objects within a certain distance. [30 points] The solution to a) and b) may be the same piece of code, or two separate pieces of code, the choice is yours. c) Evaluate the performance of your code for a range of values of the size of the Arena, the numbers of pits and bonus stations, and the speed with which the Meanies spawn. [40 points]
Expert Answer:
Related Book For
Auditing a business risk appraoch
ISBN: 978-0324375589
6th Edition
Authors: larry e. rittenberg, bradley j. schwieger, karla m. johnston
Posted Date:
Students also viewed these programming questions
-
Case 2 Consumers Take a Shine to Apple, Inc.* Synopsis: Few companies have been able to master the arts of product innovation, a "cool" brand image, and customer evangelism like Apple. After nearly...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
One current practice is to calculate the years remaining for a depletable resource by taking the prevailing estimates of current reserves and dividing it by current annual consumption. How useful is...
-
Under what circumstances is an Internet service provider required to monitor and remove infringing content uploaded to its site? What ethical considerations come into play?
-
In an advertisement, a retail store stated that its employees averaged 9 years of service. The distribution is shown here. Using the weighted mean, calculate the correct average. Number of employees...
-
Calculate \(r\) for the changes in the flow of vehicles and the level of pollution in Exercise 11.12. Assuming that the necessary assumptions can be met, construct a 99% confidence interval for the...
-
The budget director of Birding Homes & Feeders Inc., with the assistance of the controller, treasurer, production manager, and sales manager, has gathered the following data for use in developing the...
-
If you were a part of the team that was responsible for expanding the demobilization unit after a devastating tornado, what would be some of your designated duties to ensure there were minimal issues...
-
What is thought to be the material state (liquid, solid, gas) and elemental composition of Earths outer core? Solid nikel Liquid nickel Liquid iron Solid iron
-
Southern Discomfort, Inc. makes soda bottles and is considering diversifying its business by purchasing LuvPet, Inc., a company that makes pet food. Southerns beta is 1.70, and the beta of LuvPet is...
-
Nissan Rogue Hybrid in Tokyo is priced at 2,250,000. The current spot rate (/$) is 108.75. If expected inflation in US is 2.2% and in 0.5% in Japan. then one year on from now, what would be the...
-
Consider the following information about a cleaning product business Jaime opened last year: Price = $5 Quantity sold = 60,000 Implicit cost = $105,000 Explicit cost = $185,000 Assuming that all...
-
6 When the Internal Service Fund bills the general government $10,000 and the Utility Enterprise Fund $5,000 for maintenance services, what entry should be made on the Utility Enterprise Fund?
-
Cleatus receives utility for consuming pretzels (P) and other goods (G). a. Describe his preferences between bundles 4 = (16, 4). B = (9.9) and C = (0, 100) if his utility function is u(P,G) = PG b....
-
Write a report on marketing research. And explain what is meant by marketing research.
-
Coastal Refining Company operates a refinery with a distillation capacity of 12,000 barrels per day. As a new member of Coastal's management team, you have been given the task of developing a...
-
Is it always possible to discern a trend in any time-series data? What problems might arise if trends are apportioned to time-series data that are not really present?
-
Why might household and firms confidence and expectations change leading to deviations in output from trend? Is there any way in which changes in confidence can be measured to provide an indicator of...
-
Firms experience a rise in stocks. Explain why this might have occurred and what you expect firms response to this event might be and how this might affect output.
Study smarter with the SolutionInn App