Question: How to write this console as a code ? Console if the program can't find the inventory file The wizard Inventory program COMMAND MENU walk

How to write this console as a code ?
Console if the program can't find the inventory file The wizard Inventory program COMMAND MENU walk - Walk down the path show - Show all items drop - Drop an item exit - Exit program Could not find inventory file! wizard is starting with no inventory. Command: walk While walking down a path, you see a crossbow. Do you want to grab it? (y) : y You picked up a crossbow. Command: show 1. a crossbow Command: drop Number: x Invalid item number. Command
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
