Castling. AI first pass.