A simple text-based escape room game using Python OOP
This is a console-based escape room game built using Object-Oriented Programming (OOP) in Python.
It consists of three levels, each requiring the player to solve a different type of challenge:
- Math Challenge Room – Solve basic math problems.
- Science Puzzle Room – Answer science-based questions.
- Riddle Room – Solve tricky riddles.
Each level presents a pre-set question, and players must enter the correct answer to progress.
If they enter a wrong answer, they can request a hint.
- Object-Oriented Structure: Uses classes for managing puzzles, hints, and player progress.
- Three-Level Gameplay: Different types of puzzles to challenge players.
- Hint System: Players can request hints when stuck.
- Error Handling: Ensures only valid inputs are accepted.
- Single Class for Puzzles: Manages different question types within a unified structure.
- Run the Python script.
- Solve each puzzle by entering the correct answer.
- If unsure, request a hint.
- Complete all levels to escape successfully.
- Python 3.x
- Clone the repository:
git clone https://github.com/your-username/EscapeRoomGame.git
- Navigate to the project folder:
cd EscapeRoomGame - Run the game:
python game.py
Developed using Python OOP principles. Have fun escaping!