Welcome to the C++ version of AlonePong in the PongCraft! In this implementation, you'll experience the classic Pong game with a unique twist: you control a single paddle that bounces the ball against the bottom and side walls. Enjoy OldSchool stress-free moments.
To compile and run AlonePong and Pong in C++, follow these steps:
-
Clone or download this repository to your local machine.
-
Make sure you have g++ (GNU C++ compiler) and the SFML library installed on your system.
-
Open a terminal or command prompt and navigate to the “cpp” folder.
-
Compile the source code using the following command for AlonePong:
g++ -o alone_pong alone_pong.cpp -lsfml-graphics -lsfml-window -lsfml-system
- After successful compilation, run the game with the following command for AlonePong:
./alone_pong
That’s it! You can now enjoy the game and test your skills in this solo Pong adventure. Use arrow keys to play.
This implementation of AlonePong is written in C++ and uses the SFML (Simple and Fast Multimedia Library) for graphics and window management.
If you have any feedback, ideas for improvements, or if you'd like to contribute to this project, feel free to reach out. Your input is highly appreciated!
Thanks for playing AlonePong in C++, and enjoy the game!