Skip to content

GQdeveloper/UnknownQuest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 

Repository files navigation

UnknownQuest

A text-based dungeon game RPG

It is about a person waking up in a strange place with portals and other paths that he/she can use. depending on your choices you can either move to the next or previous level, find enemies, chess with items, or nothing at all; all these events are random.

How It Works

By using OOP, I made a doubly-linked list data structure to populate the nodes with level objects, each level object contains four rooms all of these are interconnected. Allowing the player to move between rooms within the level. Since the leves are within nodes this allows us to move the player between levels.

doubly-linked

Created the necessary classes according to the design in mind. I used these classes accordingly, along with conditionals and loops, to obtain the desired control flow of the game. I just wanted to create a simple game by using a data structure.

Use it

Download the source files and run it on your Java IDE.

How to Play

  • Input your name and answer the questions, then the game will begin.
  • Once the intro ends, you will be able to perform actions, these actions will be printed such as [walk] or [inventory]
  • Experiment and check what you can do.

About

A text-based game RPG, it uses a doubly-linked list to create the levels and rooms.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages