- Download repository or clone it with git or IntelliJ
- Open project in IntelliJ
- Make sure you see the Maven symbol in the sidebar (if not View -> Tool Windows -> Maven)
- Click the symbol to open the Maven menu
- Click Sync (leftmost button) to resolve dependencies (or Reload from the dropdown, if it complains about Maven plugins)
- Click Execute Maven Goal (button towards the middle with a terminal icon)
- In the floating window that opens, enter
mvn clean package assembly:singleand run it - Find
Snake-1.0-SNAPSHOT-jar-with-dependencies.jarin the newly createdtargetfolder - Open your system terminal either directly in that folder or
cdinto it - Run
java --enable-native-access=ALL-UNNAMED -jar Snake-1.0-SNAPSHOT-jar-with-dependencies.jar(if you don't havejavain your PATH, you have to prefix the path to the executable)
Download the latest release and do the above mentioned step 10 whereever you saved the file.
Tested on Windows 10 and Fedora 43