Skip to content

rkong04/2D-Java-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Knight

“Knight” is a 2D action driven exploration game designed to satisfy a player's craving for solving mazes. The player plays as the Knight, a greedy human, lost in a maze full of treasures. The knight must find his way through sprawling mazes while collecting treasures and dodging enemies.

Watch the video

Link to video/trailer


How To Play:

  • WASD or Arrow Keys to move

  • Avoid the evil slimes!

  • Collect all the coins and diamonds and get to the exit before time runs out. Diamonds are worth more points and only show up for brief periods of time. Be quick!

  • Spikes hurt you and lower your final score. But you may need to make sacrifices to avoid slimes and finish as fast as possible. Are you speedrunning or trying to maximize your score?


How To Run The Game

cd into directory code/knight and type

mvn clean package

into your terminal

Then you can run the game with

java -jar target/knight-1.0-SNAPSHOT.jar

If you want to save time you can also just run

mvn clean package && java -jar target/knight-1.0-SNAPSHOT.jar

from the knight directory


How To Run Precompiled Game

make sure that java is installed

double click knight.jar in the [Build Artifacts](Build Artifacts/) folder


How To Test The Game

cd into directory Code/knight and run

mvn test


How To Generate Javadocs

cd into directory Code/knight and run

mvn javadoc:javadoc

open the index.html file in Code/knight/target/site/apidocs with your preferred web browser

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published