After being thrown overboard from a ship you manage to survive and appear on the island...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
After being thrown overboard from a ship you manage to survive and appear on the island of Puerto Rico. You use wood, rocks, and all kinds of materials to build a pirate ship. This is for the purpose of revenge and create a new regime. The mission is to collect 5 items on the different islands before going to the enemy and having sweet revenge. Beware of the Kraken. Hawaii (Treasure) ROL Jamaica Up (Food) Bahamas Down Right Headquarters B====== (Puerto Rico) ROL (Enemies) Left Pseudocode or Flowchart for Code to "Move Between Islands" St. Thomas 1 (Health) Aruba Right (Weapons) Left Barbados (Coins) ROL KRAKEN (Octopus) DEFINE all 8 islands with directions and items PRINT Starting Island INPUT what direction would you like to go? IF Direction is valid PRINT Name of new island ELIF Direction is invalid PRINT Cannot move there, are you lost? TRY AGAIN LOOP Back to user input for new direction Pseudocode or Flowchart for Code to "Get an Item" DEFINE all 8 rooms with directions and items. PRINT Items in current inventory PRINT Available items in island INPUT Player types get item name to collect IF valid item PRINT You have collected item name ELIF Player input is invalid item PRINT Item not found LOOP Back to user input to collect items 2 After being thrown overboard from a ship you manage to survive and appear on the island of Puerto Rico. You use wood, rocks, and all kinds of materials to build a pirate ship. This is for the purpose of revenge and create a new regime. The mission is to collect 5 items on the different islands before going to the enemy and having sweet revenge. Beware of the Kraken. Hawaii (Treasure) ROL Jamaica Up (Food) Bahamas Down Right Headquarters B====== (Puerto Rico) ROL (Enemies) Left Pseudocode or Flowchart for Code to "Move Between Islands" St. Thomas 1 (Health) Aruba Right (Weapons) Left Barbados (Coins) ROL KRAKEN (Octopus) DEFINE all 8 islands with directions and items PRINT Starting Island INPUT what direction would you like to go? IF Direction is valid PRINT Name of new island ELIF Direction is invalid PRINT Cannot move there, are you lost? TRY AGAIN LOOP Back to user input for new direction Pseudocode or Flowchart for Code to "Get an Item" DEFINE all 8 rooms with directions and items. PRINT Items in current inventory PRINT Available items in island INPUT Player types get item name to collect IF valid item PRINT You have collected item name ELIF Player input is invalid item PRINT Item not found LOOP Back to user input to collect items 2
Expert Answer:
Related Book For
Project management the managerial process
ISBN: 978-0073403342
5th edition
Authors: Eric W Larson, Clifford F. Gray
Posted Date:
Students also viewed these algorithms questions
-
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...
-
May 10, 2022 NTSB/AIR-22-05 Collision into Terrain Safari Aviation Inc. Airbus AS350 B2, N985SA Kekaha, Hawaii December 26, 2019 Abstract: This report discusses the December 26, 2019, accident...
-
Two charges are located in the (x, y) plane as shown. The positive a direction is to the right and the positive y direction is upwards. The fields produced by these charges are ob- served at a point...
-
Jack purchases a house for $90,000 and spends $15,000 to renovate it. He holds the house for 35 years and then sells it in middle of a real estate bubble for $400,000. On how much of that amount does...
-
Based on the following probability distribution, what is the security's expected return? State e Probability 1 0.2 -5.0% 2 0.3 10.0 3 0.5 30.0
-
Consult an issue of a professional journal. Select one specific article and use the ideas of this section to summarize and evaluate the study.
-
Rick Kleckner Corporation recorded a finance lease at $300,000 on January 1, 2012. The interest rate is 12%. Kleckner Corporation made the first lease payment of $53,920 on January 1, 2012. The lease...
-
You are evaluating five different investments, all of which involve an upfront outlay of cash. Each investment will provide a single cash payment back to you in the future. Details of each investment...
-
Write a function: string solution (string &S, string &T); that, given two strings S and T consisting of N and M characters, respectively, determines whether string T can be obtained from string S by...
-
appropriate revisions of monetary amounts. lowing each transaction is the exchange rate for the euro on the Year 2018 transactions and events of Santo's home office and Froznee branch with a date of...
-
A manufacturing company leases a building for $90000 per year for its manufacturing facilities. In addition, the machinery in this building is being paid for in installments of $22000 per year. Each...
-
Give an example of a good or service that will have a negative income elasticity of demand but a low price elasticity of demand. Explain carefully why.
-
Assume that $200 is deposited today, two years from now, four years from now, six years from now, and eight years from now in a savings account which earns 10% annual interest, what is the balance at...
-
What are the primary uses of buckwheat, canola, grain sorghum, and sunflower?
-
9. If during 2011 the money supply increases by 6%, the inflation rate is 5%, and the growth of real GDP is 3%, what must have happened to the value of velocity during 2011?
-
Immunodeficiency can occur in any of the four major components of the immune system: B cells (antibody), T cells, complement, and phagocytes. Give two examples of immunodeficiencies in which one or...
-
Refer to the data for problem 13-36 regarding Long Beach Pharmaceutical Company. Required: Compute each division's residual income for the year under each of the following assumptions about the...
-
Using Microsoft Project, set up the network and determine the critical path for Phase 1 of the project. The project workweek will be 5 days (MF). Given the coming 2010 Winter Olympics in Vancouver...
-
How can outsourcing project work alleviate the three most common problems associated with multiproject resource scheduling?
-
Why is scheduling overtime a popular choice for getting projects back on schedule? What are the potential problems for relying on this option?
-
A series of 25 end-of-year deposits is made that begins with $1,000 at the end of year 1 and increases at the rate of $200 per year with a 12 percent interest rate compounded annually. a. What amount...
-
In Problem 106, suppose the positive-valued cash flows are replaced by a positive gradient series. If the cash flow at end-of-year 8 is $10,000, what first year payment and gradient step make the...
-
Maintenance costs on a certain piece of equipment are estimated to be $500, $600, $700, $800, and $900 at the end of years 1, 2, 3, 4, and 5, respectively. The time value of money rate is 8 percent...
Study smarter with the SolutionInn App