Giter VIP home page Giter VIP logo

samekah / dod Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 43 KB

A previous University coursework which has been built upon - Dungeons of Doom is text based adventure where a human player, acting as treasure hunter, must move through a dungeon and pick up gold in order to access the exit all whilst competing with other players and pesky enemy bots. Will you make it out? Try your luck

Java 100.00%

dod's Introduction


DUNGEONS OF DOOM


Dungeons of Doom is a text-based adventure game which can be run through the command line. to proceed with installation please follow the instructions below.

INSTALLATION INSTRUCTIONS:

to install Dungeon of Doom, first, open your command line/ git bash and navigate to the folder that you want to clone Dungeons of Doom to. After this git clone the repository to the target location and open the subsequent folder in vscode. Here, open your git bash terminal and run the command "javac DoD.java", after a little while an empty line will appear below that command - here type "java DoD" to run the program.


USER INSTRUCTIONS:


As Dungeons of Doom is a text-based game there is a key for the items on the map, these are:

  • P - this represents the player
  • E - this represents the exit
  • G - this represents Gold
  • . - this represents an empty space
  • # - this represents a wall

The Available commands to you are:

  1. look - this allows you to see around your current position on the map in a 5x5 grid

  2. hello - tells you how much gold you are required to collect on the current map, in order to access the exit

  3. pickup - this command allows you to pick up gold from the current tile you are standing on, if there is no gold a fail message will be displayed and the turn will be spent!

  4. quit - allows you to exit the game

  5. move - this command has 4 variations after the word move, these are "n","e","s","w".

    • Move n will move your character north - up the map,
    • Move e will move your character east - to the right of the map,
    • Move s will move your character south - down the map
    • move w will move your character west - to the left of the map.

If you run into a "#" a fail message will be displayed and your turn will be spent!


HOW TO PLAY:


The main focus of the game is to collect the required gold and exit the dungeon before the other players. Leaving you to be the last one standing! Key details:

  1. each player must take turns performing an action (look, hello, pickup, and move). Whether the move is successful or not, an action point will be used up.
  2. Avoid your robotic counterparts, they may not be living but they still pack a punch
  3. Collect the required Gold to be able to exit the dungeon! (easy enough)
  4. And most importantly, have fun and good luck!

KNOWN ISSUES:


  • if the player character is placed on an E, G or a # too many times due to recursion the game could crash.
  • players are able to use maps where it is impossible to complete or load the game :(

FEATURES IN DEVELOPMENT:


Task # Task progress Done?
1
  1. The ability randomly place player on map:
    • The ability to check player isn't surronded by walls
    3/ 3
    2
    1. The ability to load on maps:
      • Anounce whether default or loaded map is used
      • Anounce name of map
      • Update GameLogic class
      • Update HumanPlayer class
      • Check the format of the text file
      • Check that there is a path for the player to get to the required amount of gold and exit
    4/ 11
    3 Adding a Bot that will look for, follow and attack the player / ?
    4 Multiplayer connectivity - allowing more than one player to play together / ?
    5 UI interface / ?
    6 Option to play UI or CLI / ?
    7 Ability to create maps using UI / ?

    Recommend Projects

    • React photo React

      A declarative, efficient, and flexible JavaScript library for building user interfaces.

    • Vue.js photo Vue.js

      ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

    • Typescript photo Typescript

      TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

    • TensorFlow photo TensorFlow

      An Open Source Machine Learning Framework for Everyone

    • Django photo Django

      The Web framework for perfectionists with deadlines.

    • D3 photo D3

      Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

    Recommend Topics

    • javascript

      JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

    • web

      Some thing interesting about web. New door for the world.

    • server

      A server is a program made to process requests and deliver data to clients.

    • Machine learning

      Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

    • Game

      Some thing interesting about game, make everyone happy.

    Recommend Org

    • Facebook photo Facebook

      We are working to build community through open source technology. NB: members must have two-factor auth.

    • Microsoft photo Microsoft

      Open source projects and samples from Microsoft.

    • Google photo Google

      Google โค๏ธ Open Source for everyone.

    • D3 photo D3

      Data-Driven Documents codes.