Electric Potential Pong

A pong game, made with Processing.js, containing 20 levels. Move your mouse to control your pong paddle on the right and try to hit the ball to the left edge of the screen while preventing the ball from hitting the right edge. The ball may be influenced by the background electric potential! The opponent gets stronger with each level. Remember:

Good luck! To download the source code of the game, press the Download button below:

You will need Processing to run the .pde file. If you find any bugs or have any suggestions to make, do not hesitate to do so! My email address is at the bottom of this page.

If you experience too much lag playing the HTML5 version, a Java version is available!

Debug functions

Here are some things that you can do:

Press space to skip a level.

Press b to enable ball cursor mode (the ball is slaved to your cursor). You can use this to test the responses of the opponent at different levels.

Press g to enable god mode. The position of the "god" is set to be uniformly random as long as it's within 25 pixels of the ball's position, although it is displayed to be exactly where the ball is.

Do note that the program may taunt you for cheating.