From 11dacef42b30bd806fb8e040768b073e2c22c9cf Mon Sep 17 00:00:00 2001 From: Quinten Kock Date: Fri, 19 Jun 2020 16:12:15 +0200 Subject: [PATCH] Update TODO messages --- Board.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Board.h b/Board.h index 27457b3..2c34698 100644 --- a/Board.h +++ b/Board.h @@ -148,7 +148,7 @@ void make(Move m) { int sq_diff_abs = abs(sq_diff); - // TODO test the csatling code + // TODO test the castling code more extensively // Handle castling if(piece_type == W_KING && sq_diff_abs == 2) { // We are castling! After all, a king cannot move @@ -172,7 +172,6 @@ void make(Move m) { u.sq_from |= 0x08; // We are doing the simple way: // unset it any time a move is made from the original position. - // TODO handle castle rights and unmake if(m.sq_from == 0x00) // white queenside rook field[PTR_SIDE_AND_CASTLERIGHT] &= ~0b00010; else if(m.sq_from == 0x07) // white kingside rook