A few weeks ago, I finished a pong clone with SDL and planned on putting it up on github. Some of my code is taken directly from the Lazyfoo tutorials found at http://lazyfoo.net/SDL_tutorials/index.php.
Specifically, I used the Timer class taught on the following page, as well as the apply_surface functions found in the first few starting tutorials.
http://lazyfoo.net/SDL_tutorials/lesson13/index.php
In his FAQ he states
Q: Can I use your code to make a game?