Skip to content

A Java 11 sliding puzzle game using the FXGL library

License

Notifications You must be signed in to change notification settings

msgilligan/fxgl-sliding-puzzle

 
 

Repository files navigation

FXGL Sliding Puzzle

Getting started

To start the application execute:

./gradlew run

(A MSI installer for Windows is also available on the releases page.)

You can move the tiles using the arrow keys or the mouse. Have fun!

snapshot small

Creating application installers

The Gradle build script uses the badass-jlink plugin, which is able to create application installers. Under the hood, it calls the jpackage tool introduced in Java 14, so you need to install jpackage on your machine. On Windows you also need to install WIX, which is required to generate msi or exe packages.

You also need to specify the home of your jpackage distribution in the BADASS_JLINK_JPACKAGE_HOME environment variable. Alternatively, you can explicitly configure this location in build.gradle.

After that, you can execute:

./gradlew jpackage

The application installers will be available in the build/jpackage directory.

Example (Windows)
build\jpackage\fxgl-sliding-puzzle-1.0.msi

installer thumb

On Windows, it’s recommended to run the installed application as administrator.

About

A Java 11 sliding puzzle game using the FXGL library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%