created networGame() method