This is a multithreaded classic Pong game in C++ using the SFML graphics library.
- 💻 Single-player mode against the computer.
- 👥 Two-player mode for playing with your friend.
- 🎹 Simple and intuitive controls.
- ⚙️ Basic collision detection and game logic.
- 🏆 Score tracking for both players.
- ⚡ Adjustable ball speed.
- 🐧 You need a Linux environment; the game has been tested in Ubuntu (Debian Linux distro).
- For running the game, use the following command in Linux after installing SFML using the command:
sudo apt-get install libsfml-dev
- For compiling the program, use the command:
g++ t.cpp -lsfml-graphics -lsfml-window -lsfml-system -o t
- To run the executable, use the command:
./t
This project is licensed under the MIT License.
git clone https://github.com/maazkhan75/ThreadedPong.git