Skip to content

BhoomiMahna/EscapeRoomGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Escape Room Game

A simple text-based escape room game using Python OOP

Game Overview

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:

  1. Math Challenge Room – Solve basic math problems.
  2. Science Puzzle Room – Answer science-based questions.
  3. 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.

Features

  • 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.

How to Play

  1. Run the Python script.
  2. Solve each puzzle by entering the correct answer.
  3. If unsure, request a hint.
  4. Complete all levels to escape successfully.

Requirements

  • Python 3.x

How to Run

  1. Clone the repository:
    git clone https://github.com/your-username/EscapeRoomGame.git
  2. Navigate to the project folder:
    cd EscapeRoomGame
  3. Run the game:
    python game.py

Developed using Python OOP principles. Have fun escaping!

About

A simple text-based Escape Room Game built using Python OOP. Solve math, science, and riddle challenges to escape. Includes a hint system and structured gameplay.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages