public static void UpdateBoard(Game game, FrmGame Frm) { for (int x = 0; x < game.board.Rows; x++) { for (int y = 0; y < game.board.Cols; y++) { if (game.board.MarksPosition[x, y] != '\0') { game.board.LabelsPosition[x, y].Text = game.board.MarksPosition[x, y].ToString(); } else { game.board.LabelsPosition[x, y].Text = ""; game.board.LabelsPosition[x, y].ForeColor = Color.Black; } } } Frm.LblArrowP1_update(game.Players[0].GetPlayerColor()); Frm.LblArrowP2_update(game.Players[1].GetPlayerColor()); if (game.CurrentPlayer == game.Players[0]) { Frm.LblArrowP1_show(); Frm.LblArrowP2_hide(); } else { Frm.LblArrowP2_show(); Frm.LblArrowP1_hide(); } }