This Pong game in C++ was made with the help of ChatGPT for a YouTube video, which you can watch here: https://www.youtube.com/watch?v=w3dfLI8Q1Vs
To compile and run the game, run:
$ g++ main.cpp -o game -lsfml-graphics -lsfml-window -lsfml-system
$ ./game
You need the SFML library to compile the game:
$ sudo apt-get install libsfml-dev
This was the first ever game I have made in C++