Network into the GameController

added the networkfunction in the GameController