Simple implementation of pong using SDL2.0
This is a single player game with the second paddle being controlled by an extremely simple AI.
- Up - move up
- Down - move down
- Escape - Exit
The game has very basic controller support. You can use the up and down buttons to move your paddle. I also introduced some basic haptic feedback when the ball hits a paddle or one of the players score a point.
You require the SDL2.0 development libraries along with the following extensions:
- SDL_ttf
- SDL_image
Simply Navigate to the src directory and type make
Run pong.exe
This was tested on a Linux machine (64bit) but should also work and compile on Windows and Mac OSX given the right development tools.