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. 🕹️✨