Welcome to your own RPG Game! In this text-based adventure, your goal is to escape the house and reach the Garden while avoiding monsters. To succeed, you must find a key and a potion.
Upon starting the game, you will find yourself in a hall. From there, you can navigate through different rooms and interact with items using simple commands.
go [direction]: Move to the specified direction (north, south, east, west).get [item]: Pick up an item from the current room.
You start the game in the Hall. The layout of the house is as follows:
- Hall: Connects to the Kitchen and the Dining Room. Contains a key.
- Kitchen: Connects to the Hall. Contains a monster.
- Dining Room: Connects to the Hall and the Garden. Contains a potion.
- Garden: Connects to the Dining Room. Your escape route.
Your current inventory will be displayed along with your location. Be cautious, as encountering a monster without the necessary items will result in a game over.
To win the game, reach the Garden with both the key and the potion in your inventory.
- Run the script.
- Follow the on-screen instructions to navigate and interact with the game environment.
- Use the commands wisely to avoid dangers and progress toward victory.
Good luck, adventurer!