private void UpdateMoves() { player = BackendHelper.SwapPlayer(player); label1.Text = BackendHelper.PlayerToString(player); label6.Text = board.Befores[player].ToString(); moveListBox.Items.Clear(); foreach (Move move in board.GetPossibleMoves(player)) { moveListBox.Items.Add(move); } UpdateControls(); }