Project to develop a SDL2 version of Pong in C++.
To install SDL2, check this link here.
-
If you're using Windows, you'll need to install the developer libraries below according to your architecture and compiler:
-
If you're using Ubuntu, you can install it running on your terminal:
sudo apt-get install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev
- To download and compile, you just have to run the following code:
sudo apt-get install git git clone https://github.com/leo-ventura/sdl-pong.git cd sdl-pong/src make ./main
I started developing this game just to gain experience, I've never programmed in C++ before so many mistakes will be made along the way.