Pong
A downloadable game for macOS and Linux
This repository contains a customized version of the iconic Pong game, developed using C++ and SFML library.
Download
Download
pong_game.zip 51 MB
Install instructions
In order to be able to play the game, you can download the source code into your local machine and execute the file called pong.
If you have any problems executing the game, you can compile it by yourself; it will be necessary to have installed SFML in your computer (check the SFML installation guide here).
Once you have SFML installed in your system, try to execute the following commands from the project's main directory:
$ g++ -c PlayGame.cpp $ g++ -c MainMenu.cpp $ g++ -c OptionsMenu.cpp $ g++ main.cpp -o pong MainMenu.o PlayGame.o OptionsMenu.o -lsfml-graphics -lsfml-window -lsfml-system -lsfml-audio
This will generate again the executable file and you should be able to play the game by executing it from console:
$ ./pong
Leave a comment
Log in with itch.io to leave a comment.