Retro Gaming Hacks, Part 2: Add Paddles to Pong

9
In this hack, I will show you how, with the help of sprites, you can create and animate player-controlled paddles for the SDL Pong clone you built in part one of this three-part series. For the uninitiated to the spidery language of video game programmers, a sprite is “a small graphic that can be moved independently around the screen, producing animated effects.” Some might argue that the SDL_Rect-based “sprites” we will use to represent the two paddles in our game are not proper sprites at all, but as I could not think of a better way to refer to them, sprites they are.

Link: LinuxDevCenter