A simple game framework using SDL