crappy 2d game engine using SDL for graphics