https://github.com/nyfeu/pong
This project is a remake of the classic Pong game, implemented in C++ using the raylib library. It features single-player gameplay, where you control a paddle to bounce a ball past a computer-controlled opponent. Enjoy the nostalgia of this timeless arcade game with a modern twist
https://github.com/nyfeu/pong
cpp pong-game raylib-cpp
Last synced: 11 days ago
JSON representation
This project is a remake of the classic Pong game, implemented in C++ using the raylib library. It features single-player gameplay, where you control a paddle to bounce a ball past a computer-controlled opponent. Enjoy the nostalgia of this timeless arcade game with a modern twist
- Host: GitHub
- URL: https://github.com/nyfeu/pong
- Owner: Nyfeu
- Created: 2023-10-05T19:28:25.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-22T00:12:39.000Z (over 1 year ago)
- Last Synced: 2025-05-19T13:15:25.412Z (about 1 month ago)
- Topics: cpp, pong-game, raylib-cpp
- Language: C++
- Homepage:
- Size: 174 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pong Game 🏓 (Remake) in C++
This is a remake of the classic Pong game, implemented in C++ using the [raylib](https://www.raylib.com/) library. In this version, you play against a computer-controlled opponent, trying to bounce the ball past the paddle controlled by the computer to score points.

## Features
- Single-player Pong gameplay against a computer-controlled opponent.
- Simple keyboard controls.
- Scoring to keep track of your progress.## Prerequisites
Before running the game, you need to have [raylib](https://www.raylib.com/) installed on your system. Follow the installation instructions on the official raylib page.
## How to Run
1. Clone this repository to your system.
```
git clone https://github.com/Nyfeu/Pong.git
```
2. Navigate to the project directory.
3. Use GNU make to compile the game.
```
make
```
4. Run the game
```
make run
```## Controls
- Player (You): KEY_UP (up), KEY_DOWN (down).
- Press ESC or close the window to exit the game.## Inspiration
This project was inspired by Nick's programming tutorial, available on: [Youtube Video](https://www.youtube.com/watch?v=VLJlTaFvHo4). Nick's video was a valuable source of knowledge and inspiration for creating this Pong game in C++.
***