https://github.com/kalbarczykdev/pong-cpp-sdl2
Recreation of the classic Pong game with SDL2 lib and C++!
https://github.com/kalbarczykdev/pong-cpp-sdl2
beginner beginner-friendly cpp first-contributions pong pong-game sdl sdl-library sdl-ttf sdl2
Last synced: about 1 month ago
JSON representation
Recreation of the classic Pong game with SDL2 lib and C++!
- Host: GitHub
- URL: https://github.com/kalbarczykdev/pong-cpp-sdl2
- Owner: KalbarczykDev
- Created: 2023-09-08T13:22:37.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-09-09T12:56:28.000Z (over 1 year ago)
- Last Synced: 2025-03-22T05:51:15.078Z (about 1 month ago)
- Topics: beginner, beginner-friendly, cpp, first-contributions, pong, pong-game, sdl, sdl-library, sdl-ttf, sdl2
- Language: C++
- Homepage:
- Size: 197 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pong Game 🏓
Recreation of the classic Pong game with SDL2 lib and C++!
## 🎮 How to Play
- Player 1 (Left Paddle): Use the **W** and **S** keys to move up and down, respectively.
- Player 2 (Right Paddle): Use the **Up Arrow** and **Down Arrow** keys to move up and down, respectively.The objective is simple: **Don't let the ball get past your paddle!** Score points by making the ball pass your opponent's paddle.

## 🚀 Getting Started
1. Clone or download this repository to your local machine.
2. Install SDL2 Lib and SDL2_ttf
3. Compile the game using your preferred C++ compiler.
4. Run the compiled executable.## 📝 Notes
1. This project was made using Clion and CMAKE on macOS if you use other enviroments edit the project acordingly.## 📜 Credits
This Pong game was created by Oskar Kalbarczyk as a fun project to demonstrate game development with SDL2.