Passed the game to client and server