(Solved) Create a text-based adventure game that includes different rooms, items and a villain

Create a text-based adventure game that includes different rooms, items and a villain. The basic gameplay will require the player to move between the rooms to gather all of the items. A player wins the game by collecting all the items before encountering the villain. The player will have two options for commands in the game: moving to a different room and getting an item from the room they are in. Movement between rooms happens in four simple directions: North, South, East and West.

The following requirements must be met: there must be 8 rooms, each room must contain 1 item, with exception of start room and the toom containing a villain. The start room is where players will begin their moves and should not contain any items. The room containing the villain should not contain any items.
Create pseudocode 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.
What input do yoy 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 rhe player enters a valud item (the item in their current room)? What output should result?
o How will you control the program flow with decision branching and loops? 5. Create pseudocode or a flowchart that logically

Expert Answer


Answer to Create a text-based adventure game that includes different rooms, items and a villain. The basic gameplay will require the player…..

OR
Order Now
×

Hello!

Click one of our contacts below to chat on WhatsApp

× How can I help you?