A simple Pong clone built as part of my game development journey.
- Basic 2D gameplay with paddles and a ball.
- Player vs. Player mode.
- C++
- raylib
- entt
- sol2 (Lua binding)
- CMake 3.24 or later is required. You can download it from the official CMake website.
- Conan 2.0 or later You can install Conan by following the official guide here.
-
Clone the repository:
git clone --recursive https://github.com/TheFrainD/pong.git cd pong
-
Build the project with CMake:
cmake -S . -B build -DCMAKE_PROJECT_TOP_LEVEL_INCLUDES=third-party/cmake-conan/conan_provider.cmake -DCMAKE_BUILD_TYPE=Release cmake --build build
Note: This project uses cmake-conan to manage dependencies. Ensure Conan 2.0+ is installed before building.
-
Run the game:
cd build ./pong
This project is licensed under the MIT License.