Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help with this please. Create pseudocode or a flowchart that logically outlines the steps that will allow the player to move between roomsusing

I need help with this please.

  1. Create pseudocode or a flowchart that logically outlines the steps that will allow the player to move between roomsusing commands to go North, South, East, and West. Use your notes from Step #3 to help you design this section of code. Be sure to address the following:
  • Whatinputdo you need from the player? How will you prompt the player for that input? How will you validate the input?
  • What should the program do if the player enters a valid direction? Whatoutputshould result?
  • What should the program do if the player enters an invalid direction? Whatoutputshould result?
  • How will youcontrol the program flowwith decision branching and loops?
  1. Create pseudocode or a flowchart that logically outlines the steps that will allow the player to get the item from the room they are in and add it to their inventory. Use your notes from Step #3 to help you design this section of code. Be sure to address the following:
  • Whatinputdo you need from the player? How will you prompt the player for that input? How will you validate the input?
  • What should the program do if the player enters a valid item (the item in their current room)? Whatoutputshould result?
  • What should the program do if the player enters an invalid item (an item not in their current room)? Whatoutputshould result?
  • How will youcontrol the program flowwith decision branching or loops?

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

Students also viewed these Programming questions