Classic Pong
Built with C++ and SDL2, SDL2_image, and SDL2_mixer modules
Clone this repo.
Make sure the following are installed:
Setup a new project with your favorite IDE and copy over the files Make sure you've linked SDL2, SDL2_image, and SDL2_mixer to your project Make sure you're set to use /workspace so the resource files can be found
Compile and run!
- First Player to a score of 9 wins!
- Left Player uses W and S keys
- Right Player uses Up and Down arrow keys
- Hit space to start the ball into motion
- Optimized for 60Hz screens
Some of this code is repurposed from Lazy Foo's tutorials. They can be found here.
This code can only be used for personal use.
No permission of use for commercial / money-making means