It is a personal project I created while learning about SDL and C++.
You can clone the repository and run it on any IDE or launch the executable PongGameClone.exe
inside the zip folder PongGame.zip
.
I only built and ran it on Windows 10, but SDL2 is multiplatform, so you should be able to get it to build on anything so long as you understand your local OS's build system.
It is a pong clone where I wanted to create a game without a game engine with C++ and SDL2.
- Use Z and S for the player1 and the up and down arrows for the player2 to move around.
- There are no score restrictions.
- I divided my project in different files. The entry point is
main.cpp
- You can find all my code inside the
src
folder. - All the resources used are located inside
Assets
folder. - You can find an executable in the zip folder
PongGame.zip
.
I have used the following librairies :
SDL2
for user inputs, window and renderer.SDL2_ttf
for the fonts used inside the game.