A Python-based text adventure game where the player must explore rooms, collect keys and potions, avoid ghosts, and escape through a locked door — all within 5 minutes!
You are a student staying as a paying guest in a mysterious house. Your patron traps you inside, and now you must:
• Explore rooms
• Collect 3 keys to unlock the door
• Avoid ghosts that damage your health
• Use potions to heal
• Escape before time runs out!
To run the python script:
-
Open your terminal in the project directory.
-
Run the game:
python game_start.pyThen use commands like:
• move north / move east — move in that direction
• collect key / collect potion — pick up items
• use potion — restore health
• inventory — see what you have
• map - view the layout of the house
• quit — exit the game
• Python 3.1 and later versions
├── game.py # Game logic
├── settings.py # Room and note definitions
├── intro.txt # Premise of the game
├── objective.txt # Game Objective
├── LICENSE # MIT License
└── readme.md # This file
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Make sure to update tests as appropriate.
This project is licensed under the MIT License - see the LICENSE file for details.