项目作者: chazhurd

项目描述 :
A game where you traverse a 'maze' from one end to the other. Can you make it through without dying? This took me about 10 hours. Shows off OOP very well.
高级语言: Java
项目地址: git://github.com/chazhurd/The-Dungeon.git
创建时间: 2020-12-10T23:28:54Z
项目社区:https://github.com/chazhurd/The-Dungeon

开源协议:

下载


The-Dungeon

4pillars
A game where you traverse a ‘maze’ from one end to the other. Can you make it through without dying? Test your fighting and navigation skills below.

This game shows off the 4 pillars of OOP. Each character has their own special attack on top of a standard attack or defend. Each Character has their own stats such as health and ability to block an attack. Abstaction is used to keep the game simple all while your moves and stats are being tracked. Polymorphism is being used as there are multiple heroes and foes. Inheritance is used as there are Characters Objects who can be bad or good and so on. Encapsulations is used as there are many classes to define the Characters and parts of the game. Interfaces and abstract classes are used here as well.





TO START:

  1. Download and extract the Zip File
  2. Open Eclipse or IntelliJ and open the “The-Dungeon-Main” folder in the IDE
  3. If your set up process is like mine, create a package that is named “dungeon” (or simply rename the default package to dungeon). Transfer the compilable files (Java classes with SOLID fill J) to the dungeon package.
  4. Run the DungeonAdventure.Java class. (proceed with errors)
  5. Play the game, until you escape or die! :D





    “WELCOME TO THE DUNGEON ADVENTURE WHERE YOU MUST FIND ALL FOUR OO PILLARS AND THE EXIT.

    TO MOVE USE KEYS N,S,E,W AND TO USE POTIONS PRESS P DURING EXPLORING OR

    3 DURING BATTLE, IT WILL NOT COUNT AS A TURN DURING ATTACKS, GOOD LUCK!”




    start



2021-04-26 (1)