Pong
2021-03-04
Source: pong
Pong in C and SDL2, the classic starter project, and one of the first times I put SDL2 through a full game loop with two paddles, a ball, and collision detection instead of just a static window. There are two versions of it side by side in the repo: an initial cut, and a cleaned-up revision that actually keeps score and eases up on how aggressively the ball speeds up on each bounce. The first version's speed-up factor gets out of hand fast, which taught me why tuning that number matters.