Searched refs:CanCastle (Results 1 – 2 of 2) sorted by relevance
65 static const int CanCastle = 10; // Bonus for castling rights. variable757 midscore[WHITE] += CanCastle; in Score()761 midscore[WHITE] += CanCastle; in Score()768 midscore[BLACK] += CanCastle; in Score()772 midscore[BLACK] += CanCastle; in Score()
69 static const int CanCastle = 10; // Bonus for castling rights. variable606 if (Pos.GetCastling(WHITE,KSIDE)) { midscore[WHITE] += CanCastle; } in Score()607 if (Pos.GetCastling(WHITE,QSIDE)) { midscore[WHITE] += CanCastle; } in Score()610 if (Pos.GetCastling(BLACK,KSIDE)) { midscore[BLACK] += CanCastle; } in Score()611 if (Pos.GetCastling(BLACK,QSIDE)) { midscore[BLACK] += CanCastle; } in Score()