Skip to content

A Java clone of the popular game Wordle written for my computer science class.

License

Notifications You must be signed in to change notification settings

megabyte6/wordle-java

Repository files navigation

wordle-java

About

wordle-java is a Wordle clone written in Java for my computer science class.

How to run it.

  1. Download this repository with the green Code button.
  2. Open a terminal and run ./gradlew run (or gradlew.bat run if you're on Windows Command Prompt) to run the game.

Building the project:

  1. Download this repository with the green code button.
  2. Run the build command:
    • Build portable images (this one is easier):
      1. Run ./gradlew jlinkZip
      2. Check build for the .zip images.
    • Build installers & executables:
      1. Check Oracle's website for info on your system's prerequisites.
      2. Change the jpackageTargetPlatform variable in the ext blcok of the build.gradle file to match your operating system and architecture.
      3. Run ./gradlew jpackage
      4. Check build/jpackage for the installer(s) and build/jpackage/Wordle for the executable.
        • Note: By default, the jpackage task runs the jlink task as well. To speed up the build, you can comment out the targetPlatform() functions in the jlink block of the build.gradle file that you don't want to build for.

License

This project uses the MIT License.

Thanks

This project uses JavaFX as well as the badass-jlink-plugin by beryx. Thanks to fxexperience for the CachedTimelineTransition and ShakeTransition code.

About

A Java clone of the popular game Wordle written for my computer science class.

Topics

Resources

License

Stars

Watchers

Forks