Skip to content

sumitojha2002/Text-Based-Horror-Chase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text-Based Horror Chase

🎮 Overview

Text-Based Horror Chase is a suspenseful, text-driven adventure game built in Java.
Players navigate through a haunted environment, making choices that determine their fate.
The game features a dynamic map, interactive rooms, and a relentless enemy AI that pursues the player, creating an immersive horror experience.

⚙️ Features

  • Interactive Gameplay: Navigate through rooms using text commands.
  • Dynamic Map: Rooms are procedurally generated, ensuring a unique experience each time.
  • Enemy AI: A pursuing enemy that adapts to player movements.
  • Multiple Endings: Your choices lead to different outcomes.
  • Terminal-Based Interface: Play directly in your terminal or command prompt.

🛠️ Technologies Used

  • Java: The primary programming language.
  • Object-Oriented Programming: Utilized for structured and maintainable code.
  • Randomization Algorithms: For generating the game map and enemy behavior.

🚀 Getting Started

Prerequisites

  • Java 11 or higher installed.
  • A terminal or command prompt.

Installation

  1. Clone the repository:
    git clone https://github.com/sumitojha2002/Text-Based-Horror-Chase.git
    
  2. Navigate into the project directory:
    cd Text-Based-Horror-Chase
    
  3. Compile the Java files:
    javac *.java
    
  4. Run the game:
    java Main
    

🎮 How to Play

  • Use directional commands like north, south, east, west to move.

  • Interact with objects using commands like examine, use, or take.

  • Make strategic decisions to evade the pursuing enemy.

  • Your goal is to survive and escape the haunted environment.

📁 Project Structure

  • Main.java: Entry point of the game, initializes the game loop.

  • Game.java: Handles game logic and player interactions.

  • Player.java: Defines the player's attributes and actions.

  • Enemy.java: Manages the enemy's behavior and movement.

  • Room.java: Represents individual rooms in the game.

  • GameMap.java: Generates and manages the game map layout.

📄 License

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

About

A Java-based text adventure horror game where you navigate rooms and evade a chasing enemy.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages