A pong game implementation using 90 lines of Java code only. It is possible to write with less lines, but it would make the code unreadable. To run it: * Download the source and save it to a file called Pong.java * Using JDK 8, run: javac Pong.java and then java Pong You can improve the game mainly by changing its AI - now basically the enemy follows the ball. See the code below.
Blog about programming, client applications and intelligent use of AI. Talking about Machine Learning and AI before it was cool! We like to use JavaFX, Processing, Local execution of ML and LLM models and everything that is fun!