Welcome to the repository for the Java Text-Based RPG Game! This project is a command-line role-playing game built in Java, where players embark on an adventure, face enemies, explore new locations, and level up their characters.
- Game Features
- Game Availability
- Used Packages and Technologies
- Prerequisites
- Installation
- Running the Game
- Contributing
- License
- Title Screen:
- Character Creation: Players can create and customize their character by choosing attributes like name and initial skills.
- Unlockable Weapons, Skills, and Equipment: As players progress through the game, they gain access to a variety of combat weapons, unique skills, and defensive equipment. These unlocks allow players to customize their playstyle, enhance their combat effectiveness, and strategize for tougher battles. Whether it's mastering powerful abilities or equipping the best armor, progression is key to becoming a formidable adventurer.
- Battle System: The game features a turn-based combat system where players fight against various enemies, leveling up as they progress. During battles, players can strategically use items such as healers to restore health or choose to run away if the situation becomes too dangerous.
- Exploration: Players can explore different locations and discover quests that add to the storyline.
-
Player Stats and Inventory System: The game includes a dynamic inventory system, allowing players to collect and use items such as potions, weapons, and armor. Additionally, players can monitor their stats, including health, attack power, defense, and gold, all of which are crucial for gameplay progression. The stats update dynamically as the player levels up or equips new items.
-
Leveling Up: As players defeat enemies and complete quests, they gain experience points to level up their character, unlocking new abilities.
- Enemies & Boss Fights: The game includes a variety of enemies with unique abilities, culminating in exciting boss fights that test the player's strategy.
- Storyline & Quests: The game features an immersive storyline with multiple quests and side missions, giving players many paths to explore and decisions to make.
Currently, this project is a command-line game and does not have a live deployment. To play, follow the instructions in the Installation and Running the Game sections.
- Java: Programming language used to develop the game.
- Java.util.Scanner: For reading player inputs during gameplay.
- Java.util.ArrayList: For storing dynamic lists, such as the player’s inventory or enemies.
- Java.util.Random: For random number generation in battle and exploration events.
- OOP Design Patterns: For structuring the game’s code, using classes like
Player
,Enemy
,Character
,Item
etc.
- JDK 11 or higher
- A text editor or IDE (e.g., IntelliJ IDEA, Eclipse, Visual Studio Code)
-
Clone the repository:
git clone https://github.com/Tanzeebul-Tamim/Age-of-The-Evil-Emperor.git cd Age-of-The-Evil-Emperor
-
Create a
bin
directory at the root level to store compiled.class
files:mkdir bin
-
Compile the game files into the
bin
directory, preserving the folder structure:javac -d bin src/Main.java src/main/*.java
-
Navigate to the
bin
directory:cd bin
-
Run the game using the
java
command:java Main
Once you run the game, follow the on-screen prompts to create your character, explore, battle enemies, and complete quests!
Feel free to fork the repository and submit pull requests. Contributions are welcome, including bug fixes, new features, and improvements.
This project is licensed under the MIT License - see the LICENSE file for details.