|
Class Summary |
| Bishop |
A Bishop has no specific rules attached to it, just a list of moves. |
| Knight |
A Knight is a Piece can jump any other Piece but otherwise has no special rules. |
| Pawn |
The Pawn has four special cases; first move, en passant, capturing and promotion. |
| Pawn.Black |
This derivation of Pawn represents a Black pawn, and only differs from the White pawn by its list of moves. |
| Pawn.White |
This derivation of Pawn represents a White pawn, and only differs from the Black pawn by its list of moves. |
| Piece |
Contains a list of possible piece moves as byte offsets,
and encompasses all the rules about legal moves and actually performing
the move as an operation on the Game. |
| Queen |
A Queen has no specific rules attached to it, just a list of moves. |
| Rook |
Once a Rook has moved, it may no longer castle, but otherwise has no specific rules. |