🕸Fergus Duniho wrote on Sat, Apr 25, 2020 06:04 PM UTC:
According to Fergus the black Knight is actually considered to attack the black Bishop,
No, it is protecting the black Bishop by attacking the space it is on. I presume you have never programmed in Zillions-of-Games. That provides an attacked? function which can be used in piece definitions. It defines a move by moving a piece around and checking conditions, and this function checks whether the space a piece is currently passing over is attacked by a piece belonging to another side. In the code written for the King's movement in Zillions of Games, the attacked? would get used to check whether a move by the King would be passing through a space it would be in check on if it stopped its move there.
No, it is protecting the black Bishop by attacking the space it is on. I presume you have never programmed in Zillions-of-Games. That provides an attacked? function which can be used in piece definitions. It defines a move by moving a piece around and checking conditions, and this function checks whether the space a piece is currently passing over is attacked by a piece belonging to another side. In the code written for the King's movement in Zillions of Games, the attacked? would get used to check whether a move by the King would be passing through a space it would be in check on if it stopped its move there.