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
Code
button. - Open a terminal and run
./gradlew run
(orgradlew.bat run
if 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
code
button. - Run the build command:
- Build portable images (this one is easier):
- Run
./gradlew jlinkZip
- Check
build
for the.zip
images.
- Run
- Build installers & executables:
- Check Oracle's website for info on your system's prerequisites.
- Change the
jpackageTargetPlatform
variable in theext
blcok of thebuild.gradle
file to match your operating system and architecture. - Run
./gradlew jpackage
- Check
build/jpackage
for the installer(s) andbuild/jpackage/Wordle
for the executable.- Note: By default, the
jpackage
task runs thejlink
task as well. To speed up the build, you can comment out thetargetPlatform()
functions in thejlink
block of thebuild.gradle
file 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.