how to generate game space