Question: IN PYTHON PLEASE help with pseudocode in python for a text-based game. I am not looking for the who game experience just a piece of

IN PYTHON PLEASE

help with pseudocode in python for a text-based game. I am not looking for the who game experience just a piece of if.

Given there are eight rooms in this game and six of these rooms have an item to pick up into inventory. One of these rooms contains a villain that will kill you if you haven't inventoried all six items first. The movement between the rooms is north, south, east, and west.

Write python pseudocode to pick up the object (eg. 'collect fuse') in the room and also include

  1. 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!