A clean, fully functional Pong remake in C++, built for the console. Designed with extensibility, configurability, and fun in mind โ all in a single .cpp file!
- ๐ข Single-player mode vs CPU
- ๐ก Difficulty selection (Easy / Medium / Hard)
- ๐ก Adjustable paddle speed per difficulty
- ๐ก Predictive, (almost lol) accurate paddle collision
- ๐ Custom winning score (no upper limit!)
- ๐ฃ Colored scoreboard with animations
- ๐ Fully console-based using Windows API (no external libraries)
-
Clone/Download this repo
-
Open the
.cppfile in any Windows-based C++ IDE (e.g., Dev-C++, Code::Blocks, Visual Studio). -
Build & Run!
โ
Note: Windows-specific code (conio.h, windows.h) used for console control.
| Key | Action |
|---|---|
| โ / โ | Move paddle up/down |
| P (in menu) | Start the game |
| Numbers | Select difficulty |
- Language: C++
- Platform: Windows Console
- No dependencies
This project and all enhancements were collaboratively developed using ChatGPT-4-turbo
Model:
gpt-4-1106-preview
Provider: OpenAI
Code generated with context-aware prompts and iterative refinement between human and AI.
Original vibe coding session: https://chatgpt.com/share/67ebf778-16b8-8000-8ef0-52cdac7f9a92
Note: Contributing to this project can be through any language model/agent. check CONTRIBUTING.md for details.
Contributions are welcome! Bug fixes, features, or enhancements โ check CONTRIBUTING.md for details.
MIT โ free to use, remix, and share with credit.
Enjoy the retro vibes. Long live the paddle. ๐น๏ธโจ