Challenge the computer to a game of Pong. Tennis scoring is used, with only one game (no sets at this stage). To move the paddle, use the wasd keys. To change the paddle tilt, press and hold the "up" and "down" arrow keys. The tilt will spring back when you let go. See me playing: https://www.youtube.com/watch?v=mT8gxMlUd9Q Hint: you can tell where the AI is going to hit the ball by looking at the angle of it's bat.
V1.0: 14 June 2015 - Added a title screen and sound effects. Added difficulty levels. Changed tilt to arrow keys. Added comments to code. Enjoy! V0.2: 13 June 2015 - I just completely re-organised the code to clean it up. Created smoother AI player movement towards the net. Changed scoring system to tennis scoring system. V0.1: 1 June 2015 - Finally got (most of) the bugs ironed out and can share.