A simple single-player Pong implementation written in C, using the SDL2 library for graphics and input handling. The player competes against a computer-controlled paddle.
This project was built as a learning exercise to explore basic game loops, event handling, rendering, and simple AI behavior in C.
- Classic Pong gameplay
- Single-player mode against a computer opponent
- Keyboard-controlled paddle
- Real-time rendering using SDL2
- Basic collision detection
- Simple AI for the computer paddle
WorUP– Move paddle upSorDOWN– Move paddle down