wordle-java is a Wordle clone written in Java for my computer science class.
- Prerequisites:
- JDK 17
- A bit of command line knowledge.
- Download this repository with the green
Codebutton. - Open a terminal and run
./gradlew run(orgradlew.bat runif you're on Windows Command Prompt) to run the game.
- Prerequisites:
- JDK 17
- A bit more command line knowledge.
- Download this repository with the green
codebutton. - Run the build command:
- Build portable images (this one is easier):
- Run
./gradlew jlinkZip - Check
buildfor the.zipimages.
- Run
- Build installers & executables:
- Check Oracle's website for info on your system's prerequisites.
- Change the
jpackageTargetPlatformvariable in theextblcok of thebuild.gradlefile to match your operating system and architecture. - Run
./gradlew jpackage - Check
build/jpackagefor the installer(s) andbuild/jpackage/Wordlefor the executable.- Note: By default, the
jpackagetask runs thejlinktask as well. To speed up the build, you can comment out thetargetPlatform()functions in thejlinkblock of thebuild.gradlefile that you don't want to build for.
- Note: By default, the
- Build portable images (this one is easier):
This project uses the MIT License.
This project uses JavaFX as well as the badass-jlink-plugin by beryx. Thanks to fxexperience for the CachedTimelineTransition and ShakeTransition code.