https://github.com/aalug/cpp-pong
Classic Pong game in C++ using the raylib library.
https://github.com/aalug/cpp-pong
cpp game pong pong-game raylib raylib-cpp
Last synced: 3 months ago
JSON representation
Classic Pong game in C++ using the raylib library.
- Host: GitHub
- URL: https://github.com/aalug/cpp-pong
- Owner: aalug
- Created: 2023-12-07T22:08:02.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-13T13:59:29.000Z (over 1 year ago)
- Last Synced: 2025-01-21T06:43:30.925Z (5 months ago)
- Topics: cpp, game, pong, pong-game, raylib, raylib-cpp
- Language: C++
- Homepage:
- Size: 33.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pong Game in C++ with raylib
## Introduction
#### This is a simple implementation of the classic Pong game using the [raylib](https://www.raylib.com/) library.
## Getting Started
Follow these steps to run the game on your local machine:
1. Clone the repository
2. Navigate to the project's directory
3. Build the project:
- `mkdir build`
- `cd build`
- `cmake ..`
- `make`
4. Run the game:
- `./Pong`## Gameplay
At the beginning of the game, you will be prompted to choose a difficulty level and color theme. To make your selections, use the following controls:
- Navigate Up and Down: **UP** and **DOWN** arrow keys
- Confirm Selection: **SPACE**
- Exit the Game: **ESC**These instructions will also be displayed within the game for quick reference.