complete GameDef functions