Home
last modified time | relevance | path

Searched refs:CanCastle (Results 1 – 2 of 2) sorted by relevance

/dports/games/chessx/chessx-1.5.6/src/guess/
H A Dguess_guessengine.cpp65 static const int CanCastle = 10; // Bonus for castling rights. variable
757 midscore[WHITE] += CanCastle; in Score()
761 midscore[WHITE] += CanCastle; in Score()
768 midscore[BLACK] += CanCastle; in Score()
772 midscore[BLACK] += CanCastle; in Score()
/dports/games/scid/scid/src/
H A Dengine.cpp69 static const int CanCastle = 10; // Bonus for castling rights. variable
606 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()