simple game framework implementation