A simple 2D game framework