AutumnSpark1226 / ConsoleGame

ConsoleGame is a dungeon game that can be played in a console.
MIT License
0 stars 0 forks source link

Java test CodeFactor

ConsoleGame

ConsoleGame is a dungeon game that can be played in a console.

Game

0 = player
8 = enemy
_ = floor
[] = exit

inventory:
HPO = health potion
HD = health double
ADP = attack damage plus
AP = accuracy plus

Compile

  1. Download the source code
  2. Go to the folder
    • Windows: cd {downloaded folder}\src
    • Linux/Mac OS/etc: cd {downloaded folder}/src
  3. Compile the file
    • javac ConsoleGame.java
  4. Execute the file
    • java ConsoleGame

How to play

Type a command and press enter
Commands are: