A simple text-based Java RPG game.
- Java JDK 11 or newer with
javacandjavaadded to your PATH.
- Clone the repository:
git clone https://github.com/jb-cheng/java-rpg.git
- Change into the project directory:
cd java-rpg - Create the output directory:
mkdir -p bin
- Compile the source files:
javac -d bin src/*.java - Run the game:
java -cp bin Main
Just run the existing game.jar file after cloning the repository:
java -jar .\game.jar