Implemented GameDef function