- The combination of motility of the bishop and the rook in Chess is an ideal example of interface's inheritence.
interface IQueen:IBishop,IRook
{
//distanceuUlimited
//Queen moves horizontal, vertical and diagonally
//IQueen=IBishop+IRook
}
The rook and bishop versus rook endgame is a chess endgame where one player has just a rook, bishop and king, and the other player has only a rook and king. It has been studied many times through the years. This combination of material is one of the most common pawnless chess endgames. It is generally a theoretical draw, but the rook and bishop have good winning chances in practice because the defense is difficult.
- For more chess