Andres Araya

Back View source code Download game


Pong game

This classic ping-pong game is one of my very first projects using Python. By default you'll be playing against the CPU, which misses the ball randomly. However you're able to play with somebody else in the same computer by uncommenting the onkeypress up and down under the 'keyboard binding' section to activate the player's B paddle. You'll also need to comment out the 'CPU reaction' section. Player A will need the 'W' key to move up and the 'S' key to move down. If player B is active, arrows up and down will be needed to move the paddle.