Skip to content

krishna16sharma/MazeKnight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

MazeKnight

A simple, text-based RPG using Java

Description

Story

In this game you put yourself into the shoes of a knight whose dream is to be recognized by all in the kingdom. You get an opportunity to realize your dream when a dragon raids the kingdom and the princess goes missing. You decide to defeat the dragon to leave your mark in the kingdom's history.

Gameplay and Hints

  • 'X' on the map marks your current position. Give the appropriate input to move around the map.
  • You will meet several enemies along the way. Know when to run and when to fight. You might get help from some people as well.
  • Can't defeat a foe yet? Then maybe you should explore a bit. Maybe you will stumble across something useful.

Instructions

To run the program, run GameSystem.java which has the main function. All output is on the console for now. Type the following in the console and hit Enter key when prompted:

Movement on Map

  • N : Move North
  • S : Move South
  • E : Move East
  • W : Move West

Battle

  • F : Fight (Perform a basic attack with sword)
  • R : Run away from battle

About the project

The game is by no means perfect but does a good job in demonstrating OOP concepts like Abstraction, Encapsulation, Polymorphism and Inheritance.

About

A simple, text-based RPG using Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages