As of late, most people who find this blog via search engine are interested in one of three things: Lego, chess, or bathroom remodeling. (One day perhaps, I shall explore the intersection of those things. Susan will undoubtably object, but I believe there is some weekend’s worth of amusement therein.) Then there’s a small number of searches possibly related to people I’ve annoyed. I’m surprised there aren’t more of those.
Of the remaining search terms, here are some of the more interesting ones lately.
if (m_square.getRank() == enpassantrank) { // from the POV of an attacking pawn = 5th rank
if ((square = m_square.getNeighbor(left)) != null) {
Piece pawn = square.getPiece();
if ((pawn != null) && (pawn == m_board.getLastMovedPiece()) &&
(pawn instanceof Pawn) && ((Pawn) pawn).isEnPassantCapturable()) {
// Make sure our own king isn't in check by this move
// ...
// append to list of valid moves
}
}
// likewise for right square
}
The people in this tree are all associated with the greatest stories of Greek mythology: Tantalus’ crime against the gods (plus his unique punishment in Hades); the rivalry between Atreus and Thyestes, which is where the soap opera really begins; the Trojan War; the murder of Agamemnon by his wife; the vengeance of that murder by Orestes; the chasing of Orestes by the Furies. I could go on and on. Anyways, Edith Hamilton’s Mythology is a good place to start.
