Question: I am a creating a text-based game, and the scope of the game is for the player to be able to explore a location (building,

I am a creating a text-based game, and the scope of the game is for the player to be able to explore a location (building, ship, caves, etc) with multiple rooms. The player must be able to navigate to those rooms using N,S,E,W and every time the player explores a room it is recorded. It is recorded because if the player goes back to the same room, he will be told that the room has already been explored. I need help and i was hoping somebody could provide me with a demo code that i can learn off. I already have the items and monsters programmed.

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!