Skip to content

Latest commit

 

History

35 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🕹️ Text-Based Escape Game

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!

🎮 How to Play

To run the python script:

  1. Open your terminal in the project directory.

  2. Run the game:

python game_start.py

Then 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

⚙️ Requirements

• Python 3.1 and later versions

📁 File Structure


├── 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

👥 Contributing

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.

📄   License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A fun text-based escape game where you explore rooms, collect keys, avoid ghosts, and try to make it out alive. Give it a shot and see if you can escape!

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages