Skip to content

iKeaght/PongGameClone

Repository files navigation

Pong Game Clone

About the repository

It is a personal project I created while learning about SDL and C++.

How to use

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.

Pong game

It is a pong clone where I wanted to create a game without a game engine with C++ and SDL2.

How to play

  • Use Z and S for the player1 and the up and down arrows for the player2 to move around.
  • There are no score restrictions.

Code architecture

  • 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.

Librairies used

I have used the following librairies :

  • SDL2 for user inputs, window and renderer.
  • SDL2_ttf for the fonts used inside the game.

About

Pong clone using C++ and SDL2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages