Game/GameManager.cs
/// <summary>
/// Updates the game cycle which player can move and refresh the state of the board
/// </summary>
Updates the game cycle which player can move and refresh the state of the board
Updates the game cycle which player can move and refresh the state of the board
private void UpdateGameCycle()
        {
            SwitchPlayer();
            Board.BlackKing.Checks.Clear();
            Board.WhiteKing.Checks.Clear();
            UpdateBlockingPieces(Board.WhitePieces, Board.BlackPieces);
            UpdateBlockingPieces(Board.BlackPieces, Board.WhitePieces);
        }
private void UpdateGameCycle ( ) { SwitchPlayer ( ) ; Board . BlackKing . Checks . Clear ( ) ; Board . WhiteKing . Checks . Clear ( ) ; UpdateBlockingPieces ( Board . WhitePieces , Board . BlackPieces ) ; UpdateBlockingPieces ( Board . BlackPieces , Board . WhitePieces ) ; }
Updates the game cycle which player can move and refresh the state of the board
Updates the game cycle which player can move and refresh the state of the board