implemented gameMaster