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
-
Algorithm Design And Analysis (Programming): Recursive Algorithm To Determine The Sum Of A Finite Geometric Series Due: Algorithm Design and Analysis (Programming): Recursive Algorithm to Determine...
-
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...
-
A fleet of 100 taxis is divided into two groups of 50 cars each to see whether premium gasoline reduces maintenance costs. Premium unleaded fuel is used in group A, while regular unleaded fuel is...
-
Reactants A and B combine to form product P in the vapor phase reaction: A + B P But a side reaction also occurs, forming by-product U: 2A U The Gibbs free energy and enthalpy of each compound at T...
-
Which of the following information system functions focuses on the identification of problems and projects for computer processing? (a) user support (b) programming (c) operations (d) systems analysis
-
On January 2, 2012, Cruz Company bought a machine for use in operations. The machine has an estimated useful life of eight years and an estimated residual value of $2,600. The company provided the...
-
s 1. ExampleCo's sole asset is a $50,000 machine that has first year depreciation of $10,000 and second year deprecation of $10,000. The asset is expected to be used for 5 years. Straight line method...
-
Read all steps in the audit program for cash found on Work Paper 16-1 and familiarize yourself with work papers 16-1 through 16-7. Complete steps 2, 3, 5, 9, 10, and 12. Be sure to document your work...
-
Assume the following two stocks P and Q Stock Expected return % St. Deviation % Correlation P 12 16 0.2 Q 18 25 construct the efficient frontier of the two stocks. what weight combinations give the...
-
. The function f(x) equals the number of feet above sea level a rock climber is at x minutes. After 45 minutes the climber reaches his maximum height of 800 ft. above sea level. He stays on the...
-
Evaluation Phase (COMPLETE IN C947) Complete the "Evaluation Phase" section of your curriculum proposal by doing the following: Identify two performance metrics for the overall course, including KPIs...
-
Many fire departments (and other agencies) have taken advantage of grant opportunities to offset budget deficits. Others have used grant funding to support new initiatives. Recognizing that the grant...
-
1. pls Explain the statement "There Ain't No Such Thing as a Free Lunch." How does this relate to finance? 2. Why do finance professors usually claim that value creation is the highest goal of the...
-
Purpose Statement The purpose of this qualitative study will understand how organizations can retain and grow long-term employees without spending excessive money on recruiting employees that will...
-
write out operation of these two questions using matlab (d) (1 point) A = [2 -2; 0 1]; B = [1 2; 0 2]; C = A*B; D= [B; B (2,:)]; E = (D*C).^2; % What is E? E E =
-
A firm has the following balance sheet: Assets Cash Accounts receivable Inventory Plant and equipment $ 15,000 150,000 92,000 170,000 $427,000 Liabilities and Equity Accounts payable Long-term debt...
-
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?
-
_________, which allow sellers to charge a higher price for the first unit than for later units, are another form of price discrimination.
-
Describe and explain how price and output are determined in a monopolistically competitive market
-
Describe and explain the difference between monopolistic competition and perfect competition.
Study smarter with the SolutionInn App