A classic Pong game implemented in C using the ncurses library. Play in the terminal with smooth controls, increasing difficulty, and both single-player and local multiplayer modes.
- 🧠 Single-player mode (AI opponent)
- 👥 Two-player local mode
- 📈 Dynamic difficulty (ball speed increases over time)
- 🎯 Score tracking system
- 🖥️ Terminal-based UI using ncurses
- ⏸️ Pause menu and game states
- GCC (C compiler)
- ncurses library
- Make (optional, if using Makefile)
git clone https://github.com/MustafaSaktas0/Pong.git
cd PongWith Makefile:
makeOr manually:
gcc pong.c -o pong -lncurses./pongW→ Move UpS→ Move Down
↑→ Move Up↓→ Move Down
P→ PauseQ→ Quit
- Game loop handles rendering and input in real-time
- Ball physics include direction and speed changes
- AI predicts ball position (basic logic)
- Score system resets round with slight delay
- Sound effects 🔊
- Better AI difficulty levels 🤖
- GUI version (SDL / OpenGL) 🎨
- Online multiplayer 🌐
This project is licensed under the MIT License.
Mustafa Saktaş
If you like this project, consider giving it a star ⭐ on GitHub!