Skip to content

A simple Turn-Based RPG terminal program made with Java programming language. It includes the implementation of class relations, inheritance, overloading constructs. The game is simple with rng-based interactions and loot drops to really ramp up that strategy brain of yours.

Notifications You must be signed in to change notification settings

Quackeyikz/Java_Turn-Based_RPG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Header

Turn-Based RPG Game

The game started with a character creation, only the name are needed because the base stats is already added in the Player class. You can change them in the constructor.

How to Install?

  1. Copy this repository to a folder somewhere (anywhere, really):
git clone https://github.com/Quackeyikz/Java_Turn-Based_RPG.git
  1. Make sure you have Java installed, compile all the java files.
javac Main.java Mob/*.java Items/*.java
  1. To run the game, type this:
java Main

Character Stats

Using the info() method to print the player stat.

Character Stats

Enemy Encounter

The enemy is randomized through enemyTrigger() method.

Enemy Encounter

Loot Drop

Each loop drop chance has 45%, and the last 10% is no drop.

Loot Drop

There are some "rare" drops, you'd mostly see common and uncommon stuff because of the drop chance.

Rare Drops

Ending Screen (Win & Lose)

If you ran out of health, the game will end. But if you decided to stop adventuring, you will ended up winning. This is because the game does not have a clear winning ending, it's a survival game. Now let's see if you're unlucky enough to encounter the final boss.

Dead

Win

Honorable Slime Mention

This poor slime is terrified to the superiority of that is the healing spell.

Aura

But, how to win?

Here's my personal strategy:

  1. Take the starter equipments.
  2. Find a slime or a high orc, kill them to get better equipment.
  3. If you encounter Dragonewts, Rainbow Dragon, and (???), you better use the (3) Flee option. If fails, keep trying or use the (1) Heal option.
  4. Keep grinding to get the rare items, that way you will be able to defeat the higher level enemies.
  5. Don't forget to stop when you're satisfied.

About

A simple Turn-Based RPG terminal program made with Java programming language. It includes the implementation of class relations, inheritance, overloading constructs. The game is simple with rng-based interactions and loot drops to really ramp up that strategy brain of yours.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages