Basic framework for games in SDL