shogi STC
LLR: 2.98 (-2.94,2.94) [-10.00,5.00]
Total: 1737 W: 890 L: 834 D: 13
http://www.variantfishtest.org:6543/tests/view/
5fd93a846e23db221d9e9540
shogi LTC
LLR: 2.96 (-2.94,2.94) [-10.00,5.00]
Total: 3348 W: 1686 L: 1642 D: 20
http://www.variantfishtest.org:6543/tests/view/
5fd9b46f6e23db221d9e9552
if (pos.count<ALL_PIECES>(Us) == pos.count<PAWN>(Us))
score = score * 2;
- const Square* pl_shogi = pos.squares<SHOGI_PAWN>(Us);
-
- ourPawns = pos.pieces(Us, SHOGI_PAWN);
- theirPawns = pos.pieces(Them, SHOGI_PAWN);
-
- // Loop through all shogi pawns of the current color and score each one
- while ((s = *pl_shogi++) != SQ_NONE)
- {
- assert(pos.piece_on(s) == make_piece(Us, SHOGI_PAWN));
-
- neighbours = ourPawns & adjacent_files_bb(s);
-
- if (!neighbours)
- score -= Isolated / 2;
- }
-
return score;
}