1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-07-11 19:49:14 +00:00
BadFish/src
Marco Costalba c9f9262a49 Add experimental contempt factor
This is very crude and very basic: simply in case
of a draw for repetition or 50 moves rule return
a negative score instead of zero according to the
contempt factor (in centipawns). If contempt is
positive engine will try to avoid draws (to use
with weaker opponents), if negative engine will
try to draw. If zero (default) there are no changes.

No functional change.
2012-10-05 08:28:23 +02:00
..
benchmark.cpp Fix MSVC 2012 64bits warnings 2012-09-14 09:57:13 +02:00
bitbase.cpp Don't push on the stack 200KB in one go 2012-09-30 11:35:14 +02:00
bitboard.cpp Fix compile on 64 bits 2012-09-20 19:25:27 +02:00
bitboard.h Introduce namespace Bitbases 2012-08-18 13:08:12 +01:00
bitcount.h Tweaks to bitcount functions 2012-09-22 10:59:33 +02:00
book.cpp Drop a magic in book.cpp 2012-09-22 11:19:10 +02:00
book.h Rename class Book to PolyglotBook 2012-09-16 10:32:57 +02:00
endgame.cpp Fix KpsK endgame 2012-09-16 08:57:26 +02:00
endgame.h Simplify Endgames::probe() 2012-04-02 09:58:29 +01:00
evaluate.cpp Add experimental contempt factor 2012-10-05 08:28:23 +02:00
evaluate.h Add experimental contempt factor 2012-10-05 08:28:23 +02:00
history.h Use Windows threads library with mingw 2012-01-25 07:32:31 +01:00
main.cpp Terminate threads before to exit main() 2012-08-29 19:11:44 +02:00
Makefile Enable link time optimization only when optimizing 2012-09-09 10:02:11 +02:00
material.cpp Reformat piece values arrays 2012-08-20 19:17:58 +01:00
material.h Use std::vector to implement HashTable 2012-03-31 19:07:11 +01:00
misc.cpp Restore development version 2012-09-22 00:37:18 +02:00
misc.h Get rid of struct Time 2012-09-04 09:38:51 +02:00
movegen.cpp Fix crash under Chess 960 2012-09-16 14:14:55 +02:00
movegen.h Prefer size_t over int for array sizes 2012-08-19 11:01:46 +01:00
movepick.cpp Rename *last to *end 2012-09-09 10:24:40 +02:00
movepick.h Rename *last to *end 2012-09-09 10:24:40 +02:00
notation.cpp Fix MSVC 2012 64bits warnings 2012-09-14 09:57:13 +02:00
notation.h Fix MSVC 2012 64bits warnings 2012-09-14 09:57:13 +02:00
pawns.cpp Rename first_1 / last_1 in lsb / msb 2012-07-08 09:36:40 +01:00
pawns.h Calculate min distance between king and his pawns 2012-06-17 09:41:18 +01:00
platform.h Fix signedness warning in time_to_msec() 2012-07-07 16:28:39 +01:00
position.cpp Fix compile with Intel 13.0 2012-09-15 10:55:39 +02:00
position.h Move zobrist keys out of Position 2012-08-20 18:24:06 +01:00
psqtab.h Update copyright year to 2012 2011-12-30 13:52:16 +01:00
rkiss.h Update copyright year to 2012 2011-12-30 13:52:16 +01:00
search.cpp Add experimental contempt factor 2012-10-05 08:28:23 +02:00
search.h Get rid of struct Time 2012-09-04 09:38:51 +02:00
thread.cpp Further rearrange search() 2012-10-01 10:44:04 +02:00
thread.h Further rearrange search() 2012-10-01 10:44:04 +02:00
timeman.cpp Complete the renaming in Search::LimitsType 2012-03-31 09:16:09 +01:00
timeman.h Use UCI names in Search::LimitsType 2012-03-27 14:26:58 +01:00
tt.cpp Rename first_1 / last_1 in lsb / msb 2012-07-08 09:36:40 +01:00
tt.h Use std::vector to implement HashTable 2012-03-31 19:07:11 +01:00
types.h Reformat piece values arrays 2012-08-20 19:17:58 +01:00
uci.cpp Restore development version 2012-09-22 00:37:18 +02:00
ucioption.cpp Add experimental contempt factor 2012-10-05 08:28:23 +02:00
ucioption.h Introduce namespace UCI 2012-08-18 12:26:22 +01:00