Look no further than https://createindiestudios.itch.io/jpxlz. A Kotlin/Java game engine tailor made for 2D retro/pixel-art games!
Java-pong is a table tennis game built with the Java 7 API. The user plays against a simple AI and the winner is the player who scores seven points first. You can play the game here (Website is not yet functional).
Use the arrow keys to move the left paddle. Press enter to start a new game (when a game is not currently started).
Download the Java Development Kit (JDK). Versions 7 and above would be suitable. Read the installation instructions.
- Fork and clone the java-pong repository.
- Navigate to the cloned repository's
javadirectory with the commandcd javaand run
javac player/*.java pong/*.java sound/*.java
to compile all of the project’s java files.
- Run the game using:
java pong.Game
- You can view the view the performance of java-pong with the command
jconsole <pid of pong.Game on your computer here>. The goal is to minimize the number of threads while maximizing performance!
- To report bugs and request features, please use the GitHub issue tracker at:
https://github.com/chris-wolff/java-pong/issues - For more information on contributing, see the contributing guide