if (cell[0][0] == cell[1][1] == cell[2][2]) { return Winner }
The code is incorrect: if all entries are '-' there is no winner. Even ignoring the braces…