A simple Pong game implemented in C++ using the raylib library.
- Classic Pong gameplay
- Smooth, frame-rate-independent movement
- Ball bounces off screen edges
- FPS display
- C++ compiler (e.g., g++, clang++)
- CMake (for building the project)
git clone https://github.com/rahulc0dy/pong-game-with-raylib.git
cd pong-game-with-raylibmkdir build
cd build
cmake ..
cmake --build ../pong-game-with-raylibOn Windows, the executable may be named pong-game-with-raylib.exe.
- Use the keyboard to control paddles
- Watch the ball bounce and try to keep it in play!
- Raylib is included as a dependency [ Windows only ]
- If you are on Linux or macOS, you may need to install raylib separately. Download it from the raylib website and follow the installation instructions for your platform.
Enjoy playing Pong!


