1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-05-02 09:39:36 +00:00
BadFish/src
Marco Costalba 9fc77bc414 Fix trapped rook condition
A rook is trapped if on rank 1 as is the king.
Currently the condition aloows for the rook
to be also in front of the pawns as long
as king is on first rank.

Verified with short TC test:
LLR: -1.71 (-2.94,2.94)
Total: 23234 W: 4317 L: 4317 D: 14600

Here what it counts is that after 23K games
result is equal.

bench: 4696542
2013-05-05 12:27:11 +02:00
..
benchmark.cpp Revert "Store moves sent with "position" UCI command" 2013-03-04 09:29:46 +01:00
bitbase.cpp Better document bitbase loop 2013-03-19 19:08:41 +01:00
bitboard.cpp Update copyright year 2013-02-19 07:54:14 +01:00
bitboard.h Skip a couple of popcount in previous patch 2013-04-19 10:31:18 +02:00
bitcount.h Update copyright year 2013-02-19 07:54:14 +01:00
book.cpp Update copyright year 2013-02-19 07:54:14 +01:00
book.h Update copyright year 2013-02-19 07:54:14 +01:00
endgame.cpp Add KNPKB endgame 2013-03-18 20:40:06 +01:00
endgame.h Add KNPKB endgame 2013-03-18 20:40:06 +01:00
evaluate.cpp Fix trapped rook condition 2013-05-05 12:27:11 +02:00
evaluate.h Temporary revert "Expose EvalInfo struct to search" 2013-04-29 00:55:32 +02:00
main.cpp Update copyright year 2013-02-19 07:54:14 +01:00
Makefile Statically link std libraries under mingw 2013-02-21 05:51:04 +01:00
material.cpp Try more aggressive version 2013-04-17 07:58:59 +01:00
material.h Update copyright year 2013-02-19 07:54:14 +01:00
misc.cpp Drop some redundant defined(_WIN64) 2013-05-03 15:24:54 +02:00
misc.h Update copyright year 2013-02-19 07:54:14 +01:00
movegen.cpp Update copyright year 2013-02-19 07:54:14 +01:00
movegen.h Update copyright year 2013-02-19 07:54:14 +01:00
movepick.cpp Rename sp to splitPoint 2013-03-01 09:44:19 +01:00
movepick.h Update copyright year 2013-02-19 07:54:14 +01:00
notation.cpp Update copyright year 2013-02-19 07:54:14 +01:00
notation.h Update copyright year 2013-02-19 07:54:14 +01:00
pawns.cpp Skip a couple of popcount in previous patch 2013-04-19 10:31:18 +02:00
pawns.h Further simplify previous patch 2013-05-04 12:15:31 +02:00
platform.h Drop some redundant defined(_WIN64) 2013-05-03 15:24:54 +02:00
position.cpp De-templetize Position::is_draw() 2013-04-10 22:23:48 +02:00
position.h De-templetize Position::is_draw() 2013-04-10 22:23:48 +02:00
psqtab.h Update copyright year 2013-02-19 07:54:14 +01:00
rkiss.h Update copyright year 2013-02-19 07:54:14 +01:00
search.cpp Print time and node count before search ends 2013-05-03 10:26:03 +02:00
search.h Temporary revert "Expose EvalInfo struct to search" 2013-04-29 00:55:32 +02:00
thread.cpp Revert "Store moves sent with "position" UCI command" 2013-03-04 09:29:46 +01:00
thread.h Revert "Store moves sent with "position" UCI command" 2013-03-04 09:29:46 +01:00
timeman.cpp Be more aggressive on trying to finish iterations 2013-03-11 19:07:55 +01:00
timeman.h Update copyright year 2013-02-19 07:54:14 +01:00
tt.cpp Another take at TT alignment 2013-05-02 09:38:23 +02:00
tt.h Re-add "Cache line aligned TT" 2013-05-01 23:42:16 +02:00
types.h Re-add "Cache line aligned TT" 2013-05-01 23:42:16 +02:00
uci.cpp Restore development version 2013-04-30 20:01:07 +02:00
ucioption.cpp Restore development version 2013-04-30 20:01:07 +02:00
ucioption.h Update copyright year 2013-02-19 07:54:14 +01:00