Play the game PONG from 1972!
There are two possibilities to download the game:
- Download the whole project (source code); the
.jar
-file is included in theout
-folder. - Download the
.jar
-file (-> releases -> binary)
Start the game by invoking:
java -jar <PATH_TO_JAR.jar>
If you are in the project directory:
java -jar out/GUIGame-LAB.jar
On Windows, you can use the following bash code (copy-paste it into a .bat
-file):
java -jar <ABSOLUTE_PATH_TO_PROJECT [\GUIGame-LAB]>\out\GUIGame-LAB.jar
PAUSE
If you expreience the error "A JNI error has occurred", check out WebDeEasy. This is most likely an error with your Java-installation.
I fixed the problem by running the jar from the command line instead of running it from the explorer.