simple 2D game engine in SDL