ConsoleGame is a dungeon game that can be played in a console.
0 = player
8 = enemy
_ = floor
[] = exit
inventory:
HPO = health potion
HD = health double
ADP = attack damage plus
AP = accuracy plus
- Download the source code
- gh repo clone AutumnSpark1226/ConsoleGame
- git clone https://github.com/AutumnSpark1226/ConsoleGame.git
- Go to the folder
- Windows: cd {downloaded folder}\src
- Linux/Mac OS/etc: cd {downloaded folder}/src
- Compile the file
- javac ConsoleGame.java
- Execute the file
- java ConsoleGame
Type a command and press enter
Commands are:
- d or right (go right)
- a or left (go left)
- w or weapon (use your weapon and attack the enemy)
- s or heal (use a health potion to heal your injuries)
- i or inventory (look at your inventory)
- t or stats (look at your stats)
- u or use <item name or short form> (use this item)
- del or delete <item name or short form> (delete an item from your inventory)
- show (print the game)
- exit (close the game)
- getsavestate (print a string that contains the current game)
- loadsavestate <savestate> (load a Savestate)