Skip to content

🌒 chess, interface, inheritance , queen 👩 ,rook, bishop,

Notifications You must be signed in to change notification settings

VanHakobyan/InterfaceChess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🌎 Interface Chess Inheritance 🌎



IBishop + IRook = IQueen

Description


  • 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.

About

🌒 chess, interface, inheritance , queen 👩 ,rook, bishop,

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages