public IActionResult ConnectToRoom(string name) { return(new JsonResult(gameServer.ConnectToRoom(name))); }