Skip to content

jb-cheng/java-rpg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

java-rpg

A simple text-based Java RPG game.

Prerequisites

  • Java JDK 11 or newer with javac and java added to your PATH.

How to run

  1. Clone the repository:
    git clone https://github.com/jb-cheng/java-rpg.git
  2. Change into the project directory:
    cd java-rpg
  3. Create the output directory:
    mkdir -p bin
  4. Compile the source files:
    javac -d bin src/*.java
  5. Run the game:
    java -cp bin Main

Alternate How to run

Just run the existing game.jar file after cloning the repository:

java -jar .\game.jar

About

A simple text-based Java RPG game.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages