Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

After being thrown overboard from a ship you manage to survive and appear on the island of Puerto Rico. You use wood, rocks, and

  

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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Project management the managerial process

Authors: Eric W Larson, Clifford F. Gray

5th edition

73403342, 978-0073403342

More Books

Students also viewed these Algorithms questions