fairystockfish.git
5 years agoBump pyffish version
gbtami [Sat, 18 Apr 2020 10:19:49 +0000]
Bump pyffish version

5 years agoCover all paths in CTF bonus
Fabian Fichter [Wed, 15 Apr 2020 15:20:47 +0000]
Cover all paths in CTF bonus

racingkings STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 748 W: 283 L: 198 D: 267
http://www.variantfishtest.org:6543/tests/view/5e95e2ff6e23db4f73614caf

racingkings LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 1801 W: 565 L: 472 D: 764
http://www.variantfishtest.org:6543/tests/view/5e9600cd6e23db4f73614cc3

5 years agoRewrite CTF bonus
Fabian Fichter [Mon, 13 Apr 2020 16:28:32 +0000]
Rewrite CTF bonus

Consider paths instead of just the distance between squares.

racingkings STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 413 W: 205 L: 116 D: 92
http://www.variantfishtest.org:6543/tests/view/5e94459d6e23db4f73614c65

racingkings LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 387 W: 181 L: 97 D: 109
http://www.variantfishtest.org:6543/tests/view/5e944f3c6e23db4f73614c72

kingofthehill STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 1416 W: 701 L: 587 D: 128
http://www.variantfishtest.org:6543/tests/view/5e9445b86e23db4f73614c69

kingofthehill LTC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 1130 W: 553 L: 445 D: 132
http://www.variantfishtest.org:6543/tests/view/5e944f5a6e23db4f73614c75

5 years agoTweak Janggi piece values
Fabian Fichter [Sat, 11 Apr 2020 13:41:25 +0000]
Tweak Janggi piece values

janggi
LLR: 3.02 (-2.94,2.94) [-10.00,5.00]
Total: 1192 W: 563 L: 508 D: 121

xiangqi
LLR: 3.06 (-2.94,2.94) [-10.00,5.00]
Total: 1532 W: 471 L: 430 D: 631

5 years agoUpdate readme
Fabian Fichter [Sat, 11 Apr 2020 15:11:56 +0000]
Update readme

5 years agoCount material after consecutive passing moves
Fabian Fichter [Sat, 11 Apr 2020 13:13:54 +0000]
Count material after consecutive passing moves

Closes #99.

5 years agoTweak king danger for knightmate
Fabian Fichter [Fri, 10 Apr 2020 13:47:53 +0000]
Tweak king danger for knightmate

knightmate STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 5689 W: 1622 L: 1486 D: 2581
http://www.variantfishtest.org:6543/tests/view/5e8f4d286e23db4f73614bd9

knightmate LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 2918 W: 800 L: 699 D: 1419
http://www.variantfishtest.org:6543/tests/view/5e8f6ec76e23db4f73614bdc

5 years agoGeneralize Xiangqi soldier promotion
Fabian Fichter [Fri, 10 Apr 2020 13:01:57 +0000]
Generalize Xiangqi soldier promotion

No functional change.

5 years agoProhibit cannon-cannon captures in palace
Fabian Fichter [Tue, 7 Apr 2020 16:26:55 +0000]
Prohibit cannon-cannon captures in palace

Closes #97.

5 years agoNo disambiguation for elephants/advisors
Fabian Fichter [Sun, 5 Apr 2020 16:02:52 +0000]
No disambiguation for elephants/advisors

Only use disambiguation in WXF notation if the move is really ambiguous.

5 years agoSupport more notation systems in pyffish
Fabian Fichter [Sun, 5 Apr 2020 14:12:03 +0000]
Support more notation systems in pyffish

Add long algebraic notation and western notations for Shogi, Xiangqi, and Janggi.

- Shogi Hodges and Hosking
- Xiangqi WXF
- Janggi

5 years agoSimplify move generation for Janggi
Fabian Fichter [Sun, 5 Apr 2020 13:39:56 +0000]
Simplify move generation for Janggi

janggi
LLR: 3.04 (-2.94,2.94) [-10.00,5.00]
Total: 1036 W: 489 L: 433 D: 114

xiangqi
LLR: 2.98 (-2.94,2.94) [-10.00,5.00]
Total: 751 W: 252 L: 207 D: 292

chess
LLR: 2.96 (-2.94,2.94) [-10.00,5.00]
Total: 3003 W: 639 L: 610 D: 1754
http://www.variantfishtest.org:6543/tests/view/5e88bc986e23db4f73614b89

5 years agoExclude pyffish from appveyor C++ build
Fabian Fichter [Sun, 5 Apr 2020 13:37:50 +0000]
Exclude pyffish from appveyor C++ build

5 years agoMerge python wrapper
Fabian Fichter [Sat, 4 Apr 2020 21:33:56 +0000]
Merge python wrapper

Include python wrapper by gbtami in main repository.

Closes #93.

5 years agoAdd wild Xiangqi positon to perft test
Fabian Fichter [Sat, 4 Apr 2020 17:44:13 +0000]
Add wild Xiangqi positon to perft test

No functional change.

5 years agoFix generation of capturing palace king evasion
Fabian Fichter [Sat, 4 Apr 2020 16:13:50 +0000]
Fix generation of capturing palace king evasion

Example:
1n1kaabn1/cr2N4/5C1c1/p1pNp3p/9/9/P1PbP1P1P/3r1p3/4A4/R1BA1KB1R b - - 0 1

5 years agoConsider Janggi cannon restrictions in evaluation
Fabian Fichter [Fri, 3 Apr 2020 21:57:04 +0000]
Consider Janggi cannon restrictions in evaluation

janggi
LLR: 2.99 (-2.94,2.94) [0.00,10.00]
Total: 694 W: 364 L: 260 D: 70

5 years agoTweak king safety evaluation for Janggi
Fabian Fichter [Fri, 3 Apr 2020 21:48:33 +0000]
Tweak king safety evaluation for Janggi

janggi
LLR: 3.00 (-2.94,2.94) [0.00,10.00]
Total: 590 W: 325 L: 220 D: 45

5 years agoConsider palace moves in evaluation
Fabian Fichter [Fri, 3 Apr 2020 20:05:23 +0000]
Consider palace moves in evaluation

janggi
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 292 W: 178 L: 82 D: 32

5 years agoTweak extinction threat bonus
Fabian Fichter [Fri, 3 Apr 2020 19:59:05 +0000]
Tweak extinction threat bonus

kinglet STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 391 W: 222 L: 125 D: 44
http://www.variantfishtest.org:6543/tests/view/5e8726916e23db4f73614b53

kinglet LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 478 W: 263 L: 164 D: 51
http://www.variantfishtest.org:6543/tests/view/5e8746476e23db4f73614b57

extinction STC
LLR: 2.98 (-2.94,2.94) [-10.00,5.00]
Total: 1765 W: 848 L: 796 D: 121
http://www.variantfishtest.org:6543/tests/view/5e8768d76e23db4f73614b60

extinction LTC
LLR: 2.96 (-2.94,2.94) [-10.00,5.00]
Total: 817 W: 392 L: 336 D: 89
http://www.variantfishtest.org:6543/tests/view/5e8746726e23db4f73614b5b

threekings STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 1670 W: 358 L: 280 D: 1032
http://www.variantfishtest.org:6543/tests/view/5e873b0d6e23db4f73614b55

threekings LTC
LLR: 2.99 (-2.94,2.94) [-10.00,5.00]
Total: 297 W: 70 L: 30 D: 197
http://www.variantfishtest.org:6543/tests/view/5e8747506e23db4f73614b5e

5 years agoOnly generate passing evasions in bikjang
Fabian Fichter [Fri, 3 Apr 2020 14:50:19 +0000]
Only generate passing evasions in bikjang

Avoid generating and filtering illegal passing moves.

5 years agoIncrease extinction threat bonus
Fabian Fichter [Thu, 2 Apr 2020 18:03:28 +0000]
Increase extinction threat bonus

extinction STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 1551 W: 781 L: 663 D: 107
http://www.variantfishtest.org:6543/tests/view/5e82e98d6e23db4f73614b14

extinction LTC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 2133 W: 1020 L: 896 D: 217
http://www.variantfishtest.org:6543/tests/view/5e8366546e23db4f73614b28

kinglet STC
LLR: -2.95 (-2.94,2.94) [0.00,10.00]
Total: 7871 W: 3491 L: 3471 D: 909
http://www.variantfishtest.org:6543/tests/view/5e82e99e6e23db4f73614b17

kinglet LTC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 5977 W: 2718 L: 2541 D: 718
http://www.variantfishtest.org:6543/tests/view/5e8393746e23db4f73614b2c

threekings STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 1670 W: 364 L: 285 D: 1021
http://www.variantfishtest.org:6543/tests/view/5e82eece6e23db4f73614b23

threekings LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 1614 W: 278 L: 206 D: 1130
http://www.variantfishtest.org:6543/tests/view/5e8393626e23db4f73614b2a

5 years agoAllow passing in bikjang despite check
Fabian Fichter [Wed, 1 Apr 2020 21:00:30 +0000]
Allow passing in bikjang despite check

Closes #94.

5 years agoDo not consider passing as capture
Fabian Fichter [Wed, 1 Apr 2020 20:46:51 +0000]
Do not consider passing as capture

5 years agoOnly consider bikjang when applicable
Fabian Fichter [Tue, 31 Mar 2020 18:41:14 +0000]
Only consider bikjang when applicable

5 years agoProhibit non-passing moves not breaking bikjang
Fabian Fichter [Tue, 31 Mar 2020 18:31:57 +0000]
Prohibit non-passing moves not breaking bikjang

Closes #92.

5 years agoAlways allow passing in Janggi
Fabian Fichter [Tue, 31 Mar 2020 18:04:09 +0000]
Always allow passing in Janggi

Closes #91.

5 years agoFix king evasions in palace for Janggi
Fabian Fichter [Tue, 31 Mar 2020 17:46:28 +0000]
Fix king evasions in palace for Janggi

Closes #90.

5 years agoEvaluate extinction threats
Fabian Fichter [Mon, 30 Mar 2020 20:28:52 +0000]
Evaluate extinction threats

extinction STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 197 W: 144 L: 44 D: 9
http://www.variantfishtest.org:6543/tests/view/5e8256cc6e23db4f73614af2

extinction LTC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 158 W: 122 L: 26 D: 10
http://www.variantfishtest.org:6543/tests/view/5e825e4c6e23db4f73614afe

kinglet STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 402 W: 232 L: 133 D: 37
http://www.variantfishtest.org:6543/tests/view/5e8257536e23db4f73614af5

kinglet LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 248 W: 159 L: 64 D: 25
http://www.variantfishtest.org:6543/tests/view/5e8267036e23db4f73614b0a

threekings STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 459 W: 117 L: 51 D: 291
http://www.variantfishtest.org:6543/tests/view/5e82576b6e23db4f73614af7

threekings LTC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 366 W: 93 L: 30 D: 243
http://www.variantfishtest.org:6543/tests/view/5e82670e6e23db4f73614b0c

5 years agoSupport Janggi (Korean chess)
Fabian Fichter [Sun, 29 Mar 2020 21:36:27 +0000]
Support Janggi (Korean chess)

https://en.wikipedia.org/wiki/Janggi

Closes #40.

bench: 4801778

5 years agoIncrease leapers' value in makpong
Ada Joule [Sat, 28 Mar 2020 13:34:15 +0000]
Increase leapers' value in makpong

makpong STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 932 W: 357 L: 268 D: 307
http://www.variantfishtest.org:6543/tests/view/5e7f52fa6e23db4f73614acf

makpong LTC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 1838 W: 654 L: 554 D: 630
http://www.variantfishtest.org:6543/tests/view/5e8038f96e23db4f73614add

5 years agoRewrite piece value scaling
Fabian Fichter [Sun, 29 Mar 2020 14:47:35 +0000]
Rewrite piece value scaling

grand STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 5784 W: 2326 L: 2163 D: 1295
http://www.variantfishtest.org:6543/tests/view/5e7ce6266e23db4f73614a83

grand LTC
LLR: 2.98 (-2.94,2.94) [-10.00,5.00]
Total: 1251 W: 479 L: 433 D: 339
http://www.variantfishtest.org:6543/tests/view/5e7dbc626e23db4f73614aa6

courier STC
LLR: 2.97 (-2.94,2.94) [-10.00,5.00]
Total: 973 W: 271 L: 230 D: 472
http://www.variantfishtest.org:6543/tests/view/5e7c60b76e23db4f73614a80

courier LTC
LLR: 3.00 (-2.94,2.94) [-10.00,5.00]
Total: 836 W: 215 L: 174 D: 447
http://www.variantfishtest.org:6543/tests/view/5e7ce75b6e23db4f73614a95

capablanca STC
LLR: 2.97 (-2.94,2.94) [-10.00,5.00]
Total: 1299 W: 523 L: 476 D: 300
http://www.variantfishtest.org:6543/tests/view/5e7c60826e23db4f73614a7d

capablanca LTC (failed)
LLR: -2.99 (-2.94,2.94) [-10.00,5.00]
Total: 2137 W: 728 L: 796 D: 613
http://www.variantfishtest.org:6543/tests/view/5e7ce7646e23db4f73614a97

losalamos STC
LLR: 2.95 (-2.94,2.94) [-10.00,5.00]
Total: 2446 W: 594 L: 562 D: 1290
http://www.variantfishtest.org:6543/tests/view/5e7ce6596e23db4f73614a85

losalamos LTC
LLR: 2.95 (-2.94,2.94) [-10.00,5.00]
Total: 4187 W: 964 L: 941 D: 2282
http://www.variantfishtest.org:6543/tests/view/5e7db9626e23db4f73614aa4

5 years agoRewrite extinction evaluation
Fabian Fichter [Fri, 27 Mar 2020 18:21:56 +0000]
Rewrite extinction evaluation

kinglet STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 265 W: 159 L: 67 D: 39
http://www.variantfishtest.org:6543/tests/view/5e7ba5f96e23db4f73614a6a

kinglet LTC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 292 W: 172 L: 79 D: 41
http://www.variantfishtest.org:6543/tests/view/5e7ce6916e23db4f73614a89

extinction STC
LLR: 2.95 (-2.94,2.94) [-10.00,5.00]
Total: 1777 W: 834 L: 784 D: 159
http://www.variantfishtest.org:6543/tests/view/5e7ce71b6e23db4f73614a92

extinction LTC
LLR: 2.98 (-2.94,2.94) [-10.00,5.00]
Total: 791 W: 376 L: 320 D: 95
http://www.variantfishtest.org:6543/tests/view/5e7ce9c96e23db4f73614a9b

5 years agoIncrease king danger for makpong
Ada Joule [Sat, 21 Mar 2020 19:28:14 +0000]
Increase king danger for makpong

makpong STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 437 W: 191 L: 108 D: 138
http://35.161.250.236:6543/tests/view/5e7dfc766e23db4f73614ab1

makpong LTC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 385 W: 169 L: 88 D: 128
http://35.161.250.236:6543/tests/view/5e7e15c56e23db4f73614abe

5 years agoTweak material bonus for nCheck
Fabian Fichter [Sat, 21 Mar 2020 17:15:02 +0000]
Tweak material bonus for nCheck

3check STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 2620 W: 1304 L: 1169 D: 147
http://www.variantfishtest.org:6543/tests/view/5e74ca026e23db46beba4fbf

3check LTC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 1549 W: 775 L: 657 D: 117
http://www.variantfishtest.org:6543/tests/view/5e74f97c6e23db46beba4fc2

3check LTC2
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 2194 W: 1083 L: 956 D: 155
http://www.variantfishtest.org:6543/tests/view/5e75e7b86e23db46beba4fca

5 years agoSafer pseudo-legal move validation for drops
Fabian Fichter [Sat, 21 Mar 2020 17:13:29 +0000]
Safer pseudo-legal move validation for drops

crazyhouse STC
LLR: 2.96 (-2.94,2.94) [-10.00,5.00]
Total: 6452 W: 3127 L: 3107 D: 218
http://www.variantfishtest.org:6543/tests/view/5e6a9cae6e23db46beba4f9a

crazyhouse LTC
LLR: 2.99 (-2.94,2.94) [-10.00,5.00]
Total: 5895 W: 2831 L: 2807 D: 257
http://www.variantfishtest.org:6543/tests/view/5e6b45b36e23db46beba4f9d

5 years agoEvaluate virtual mate threats in bughouse
Fabian Fichter [Sat, 14 Mar 2020 19:45:13 +0000]
Evaluate virtual mate threats in bughouse

bughouse
Total: 500 W: 276 L: 219 D: 5

5 years agoIncrease king danger for bughouse
Fabian Fichter [Sat, 14 Mar 2020 18:56:11 +0000]
Increase king danger for bughouse

bughouse
Total: 250 W: 143 L: 106 D: 1

5 years agoRequest sit when winning in bughouse
Fabian Fichter [Sat, 14 Mar 2020 16:00:22 +0000]
Request sit when winning in bughouse

5 years agoGeneral fast play in bughouse (#64)
Fabian Fichter [Fri, 13 Mar 2020 16:26:29 +0000]
General fast play in bughouse (#64)

Mainly affects play at longer time controls.

5 years agoEvaluate virtual piece drop checks in bughouse
Fabian Fichter [Fri, 13 Mar 2020 15:14:34 +0000]
Evaluate virtual piece drop checks in bughouse

bughouse
Total: 1000 W: 531 L: 459 D: 10

5 years agoEvaluate king proximity for bughouse
Fabian Fichter [Fri, 13 Mar 2020 14:06:15 +0000]
Evaluate king proximity for bughouse

bughouse
Total: 500 W: 280 L: 216 D: 4

5 years agoTweak piece values for nCheck
Fabian Fichter [Thu, 12 Mar 2020 20:09:51 +0000]
Tweak piece values for nCheck

3check STC
LLR: -2.97 (-2.94,2.94) [0.00,10.00]
Total: 11258 W: 5234 L: 5169 D: 855
http://www.variantfishtest.org:6543/tests/view/5e625bda6e23db46beba4f52

3check LTC
LLR: -2.96 (-2.94,2.94) [0.00,10.00]
Total: 18691 W: 8667 L: 8495 D: 1529
http://www.variantfishtest.org:6543/tests/view/5e6286876e23db46beba4f57

5check STC
LLR: -2.97 (-2.94,2.94) [0.00,10.00]
Total: 11102 W: 4635 L: 4568 D: 1899
http://www.variantfishtest.org:6543/tests/view/5e65f5776e23db46beba4f6d

5check LTC
LLR: -2.95 (-2.94,2.94) [0.00,10.00]
Total: 12616 W: 5145 L: 5056 D: 2415
http://www.variantfishtest.org:6543/tests/view/5e6539966e23db46beba4f6b

5 years agoCommunicate clock times in bughouse
Fabian Fichter [Wed, 11 Mar 2020 22:44:50 +0000]
Communicate clock times in bughouse

Consider clock times of partner board in time management (#64).

5 years agoPlay fast when partner is dead in bughouse
Fabian Fichter [Sun, 8 Mar 2020 20:28:38 +0000]
Play fast when partner is dead in bughouse

bughouse
Total: 500 W: 263 L: 233 D: 4

5 years agoFix time unit of CECP st command
Fabian Fichter [Sat, 7 Mar 2020 12:09:24 +0000]
Fix time unit of CECP st command

Set `st` in seconds instead of milliseconds.

Closes #85.

5 years agoTweak shelter bonus for nCheck
Fabian Fichter [Sat, 7 Mar 2020 10:35:54 +0000]
Tweak shelter bonus for nCheck

3check STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 1845 W: 924 L: 801 D: 120
http://www.variantfishtest.org:6543/tests/view/5e6258ac6e23db46beba4f4c

3check LTC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 2573 W: 1251 L: 1119 D: 203
http://www.variantfishtest.org:6543/tests/view/5e6281ff6e23db46beba4f55

5 years agoEvaluate virtual pawn drop checks for bughouse
Fabian Fichter [Fri, 6 Mar 2020 14:38:02 +0000]
Evaluate virtual pawn drop checks for bughouse

bughouse
Total: 500 W: 265 L: 232 D: 3

5 years agoConsider endgame king danger for bughouse
Fabian Fichter [Fri, 6 Mar 2020 14:10:02 +0000]
Consider endgame king danger for bughouse

bughouse
Total: 500 W: 270 L: 225 D: 5

5 years agoTweak piece values for bughouse
Fabian Fichter [Fri, 6 Mar 2020 10:51:04 +0000]
Tweak piece values for bughouse

bughouse
Total: 200 W: 124 L: 75 D: 1

5 years agoImprove evaluation of checks by piece drops
Fabian Fichter [Sun, 1 Mar 2020 19:08:43 +0000]
Improve evaluation of checks by piece drops

shogun
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 426 W: 243 L: 143 D: 40

pocketknight STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 2526 W: 748 L: 648 D: 1130
http://www.variantfishtest.org:6543/tests/view/5e5b92a66e23db46beba4f20

pocketknight LTC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 1691 W: 505 L: 415 D: 771
http://www.variantfishtest.org:6543/tests/view/5e5bb85d6e23db46beba4f2a

5 years agoConsider board size in shogi king danger
Fabian Fichter [Sun, 1 Mar 2020 19:06:37 +0000]
Consider board size in shogi king danger

shogi
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 2688 W: 1391 L: 1251 D: 46

minishogi
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 2208 W: 1169 L: 1035 D: 4

5 years agoFix race condition in holding command
Fabian Fichter [Sat, 29 Feb 2020 22:46:01 +0000]
Fix race condition in holding command

Prevent race conditions in bughouse by updating the holdings
with the captured piece instead of completely overriding them,
given that the GUI provides this optional information.

Closes #73.

5 years agoScale check danger with check count
Fabian Fichter [Sat, 29 Feb 2020 22:38:54 +0000]
Scale check danger with check count

3check STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 4529 W: 2174 L: 2014 D: 341
http://www.variantfishtest.org:6543/tests/view/5e5992676e23db46beba4f14

3check LTC
LLR: -2.95 (-2.94,2.94) [0.00,10.00]
Total: 6565 W: 3017 L: 3018 D: 530
http://www.variantfishtest.org:6543/tests/view/5e5999ca6e23db46beba4f17

5check STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 1635 W: 735 L: 624 D: 276
http://www.variantfishtest.org:6543/tests/view/5e5999da6e23db46beba4f19

5check LTC
LLR: 2.94 (-2.94,2.94) [0.00,10.00]
Total: 1199 W: 533 L: 431 D: 235
http://www.variantfishtest.org:6543/tests/view/5e5a32106e23db46beba4f1b

5 years agoScale endgame danger with checks
Fabian Fichter [Fri, 28 Feb 2020 17:52:28 +0000]
Scale endgame danger with checks

3check STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 9256 W: 4385 L: 4157 D: 714
http://www.variantfishtest.org:6543/tests/view/5e564bfc6e23db46beba4ede

3check LTC
LLR: -2.97 (-2.94,2.94) [0.00,10.00]
Total: 11218 W: 5188 L: 5123 D: 907
http://www.variantfishtest.org:6543/tests/view/5e5685976e23db46beba4f00

5check STC
LLR: 2.95 (-2.94,2.94) [-10.00,5.00]
Total: 393 W: 189 L: 134 D: 70
http://www.variantfishtest.org:6543/tests/view/5e564c1d6e23db46beba4ee1

5 years agoFix queen check danger
Fabian Fichter [Fri, 28 Feb 2020 17:46:42 +0000]
Fix queen check danger

5 years agoFix definition of camp in king safety
Fabian Fichter [Fri, 28 Feb 2020 17:39:35 +0000]
Fix definition of camp in king safety

5 years agoIncrease check danger for nCheck variants
Fabian Fichter [Thu, 27 Feb 2020 22:48:01 +0000]
Increase check danger for nCheck variants

3check STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 3733 W: 1808 L: 1659 D: 266
http://www.variantfishtest.org:6543/tests/view/5e5649d26e23db46beba4ed3

3check LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 5655 W: 2672 L: 2497 D: 486
http://www.variantfishtest.org:6543/tests/view/5e576a846e23db46beba4f04

5 years agoTweak piece values for variants without checks
Fabian Fichter [Thu, 27 Feb 2020 18:56:20 +0000]
Tweak piece values for variants without checks

racingkings STC
LLR: 2.98 (-2.94,2.94) [0.00,10.00]
Total: 2872 W: 1009 L: 895 D: 968
http://www.variantfishtest.org:6543/tests/view/5e5662136e23db46beba4ef0

racingkings LTC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 2799 W: 907 L: 799 D: 1093
http://www.variantfishtest.org:6543/tests/view/5e566cf16e23db46beba4ef3

5 years agoFix compiler warnings
Fabian Fichter [Wed, 26 Feb 2020 15:20:37 +0000]
Fix compiler warnings

5 years agoUpdate readme
Fabian Fichter [Thu, 20 Feb 2020 22:29:30 +0000]
Update readme

5 years agoSupport Three Kings Chess
Fabian Fichter [Thu, 20 Feb 2020 22:11:06 +0000]
Support Three Kings Chess

Closes #79.

5 years agoSupport Koedem
Fabian Fichter [Thu, 20 Feb 2020 20:56:43 +0000]
Support Koedem

http://schachclub-oetigheim.de/wp-content/uploads/2016/04/Koedem-rules.pdf

Closes #78.

5 years agoDouble material bonus for losing chess
Fabian Fichter [Wed, 19 Feb 2020 19:20:22 +0000]
Double material bonus for losing chess

giveaway STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 1273 W: 553 L: 451 D: 269
http://www.variantfishtest.org:6543/tests/view/5e4c63ff6e23db46beba4e50

giveaway LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 1470 W: 615 L: 512 D: 343
http://www.variantfishtest.org:6543/tests/view/5e4ce01e6e23db46beba4e64

losers LTC
LLR: 2.96 (-2.94,2.94) [-10.00,5.00]
Total: 624 W: 317 L: 258 D: 49
http://www.variantfishtest.org:6543/tests/view/5e4d6d576e23db46beba4e66

5 years agoTweak piece values for losing chess variants
Fabian Fichter [Wed, 19 Feb 2020 19:07:41 +0000]
Tweak piece values for losing chess variants

giveaway STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 968 W: 416 L: 320 D: 232
http://www.variantfishtest.org:6543/tests/view/5e4c62af6e23db46beba4e49

giveaway STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 808 W: 338 L: 247 D: 223
http://www.variantfishtest.org:6543/tests/view/5e4cdfff6e23db46beba4e60

losers STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 1862 W: 903 L: 783 D: 176
http://www.variantfishtest.org:6543/tests/view/5e4c62c36e23db46beba4e4c

losers LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 3538 W: 1617 L: 1476 D: 445
http://www.variantfishtest.org:6543/tests/view/5e4ce00a6e23db46beba4e62

5 years agoClear hash on new game in CECP
Fabian Fichter [Wed, 19 Feb 2020 18:58:37 +0000]
Clear hash on new game in CECP

Ensures reproducible results on repeated searches, e.g.:
```
xboard
new
go
new
go
```

Closes #80.

5 years agoFix notation for pieces in hand in SFEN
Fabian Fichter [Wed, 12 Feb 2020 21:26:26 +0000]
Fix notation for pieces in hand in SFEN

Prefix the piece letter by the piece count instead of repeating the letter.
Support old notation in parsing for backwards compatibility.

Closes #77.

5 years agoSpeed up move generation
Fabian Fichter [Wed, 12 Feb 2020 17:47:38 +0000]
Speed up move generation

chess STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 4792 W: 1081 L: 969 D: 2742
http://www.variantfishtest.org:6543/tests/view/5e4317286e23db46beba4e0e

No functional change.

5 years agoDisable makruk counting for positions with pawns
Fabian Fichter [Wed, 12 Feb 2020 17:46:06 +0000]
Disable makruk counting for positions with pawns

makruk STC
LLR: 2.96 (-2.94,2.94) [-10.00,5.00]
Total: 2064 W: 169 L: 136 D: 1759
http://www.variantfishtest.org:6543/tests/view/5e4308466e23db46beba4e06

makruk LTC
LLR: 3.01 (-2.94,2.94) [-10.00,5.00]
Total: 2530 W: 163 L: 130 D: 2237
http://www.variantfishtest.org:6543/tests/view/5e430b2d6e23db46beba4e09

Closes #75.

5 years agoSimplify FEN parsing for large boards
Fabian Fichter [Mon, 10 Feb 2020 22:01:59 +0000]
Simplify FEN parsing for large boards

No functional change.

5 years agoSupport Makpong (Defensive Chess)
Fabian Fichter [Thu, 6 Feb 2020 20:45:34 +0000]
Support Makpong (Defensive Chess)

https://www.mayhematics.com/v/vol8/vc64b.pdf
https://books.google.de/books?id=0O02DwAAQBAJ&pg=PA81&lpg=PA81&dq=makpong

Closes #72.

No functional change for other variants.

5 years agoSimplify do_move and undo_move
Fabian Fichter [Fri, 7 Feb 2020 12:19:19 +0000]
Simplify do_move and undo_move

No functional change.

5 years agoSupport generation of FENs showing promoted pawns
Fabian Fichter [Thu, 6 Feb 2020 19:15:18 +0000]
Support generation of FENs showing promoted pawns

Required for gbtami/pychess-variants#87.

No functional change.

5 years agoMinor readme updates
Fabian Fichter [Thu, 6 Feb 2020 10:59:16 +0000]
Minor readme updates

5 years agoImplement variant configuration checker
Fabian Fichter [Wed, 5 Feb 2020 21:11:44 +0000]
Implement variant configuration checker

Usage: `./stockfish check variants.ini`

Closes #62.

5 years agoExtend range of skill levels to negative values
Fabian Fichter [Tue, 4 Feb 2020 21:15:10 +0000]
Extend range of skill levels to negative values

5 years agoUpdate pychess-variants link in readme
Fabian Fichter [Tue, 4 Feb 2020 20:03:06 +0000]
Update pychess-variants link in readme

5 years agoRestore development version
Fabian Fichter [Sat, 1 Feb 2020 00:10:03 +0000]
Restore development version

5 years agoFairy-Stockfish 11
Fabian Fichter [Fri, 31 Jan 2020 13:56:26 +0000]
Fairy-Stockfish 11

bench: 4794966

5 years agoUpdate Shogun chess in variants.ini
Fabian Fichter [Fri, 31 Jan 2020 10:25:30 +0000]
Update Shogun chess in variants.ini

Rename Ferz for compatibility with pychess-variants.

5 years agoSupport USI extensions
Fabian Fichter [Thu, 30 Jan 2020 20:44:43 +0000]
Support USI extensions

Improve Shogi GUI compatibility by supporting:
- bestmove resign
- go byoyomi

Closes #71.

5 years agoMerge official-stockfish/master
Fabian Fichter [Sun, 26 Jan 2020 18:39:38 +0000]
Merge official-stockfish/master

bench: 4794966

5 years agoMerge official-stockfish/master
Fabian Fichter [Sun, 26 Jan 2020 16:12:57 +0000]
Merge official-stockfish/master

5 years agoFix slider blockers for banner
Fabian Fichter [Sun, 26 Jan 2020 12:07:16 +0000]
Fix slider blockers for banner

No functional change for all variants except manchu.

5 years agoFix Betza notation for royal fairy pieces
Fabian Fichter [Sat, 25 Jan 2020 22:49:56 +0000]
Fix Betza notation for royal fairy pieces

5 years agoMerge official-stockfish/master
Fabian Fichter [Sat, 25 Jan 2020 21:37:28 +0000]
Merge official-stockfish/master

bench: 5115004

5 years agoGeneralize check for fairy riders
Fabian Fichter [Sat, 25 Jan 2020 11:05:49 +0000]
Generalize check for fairy riders

No functional change.

5 years agoConsider attacks to CTF square in Jeson Mor
Fabian Fichter [Fri, 24 Jan 2020 15:16:51 +0000]
Consider attacks to CTF square in Jeson Mor

jesonmor STC
LLR: 4.87 (-2.94,2.94) [0.00,10.00]
Total: 765 W: 472 L: 292 D: 1
http://www.variantfishtest.org:6543/tests/view/5e29ec386e23db46beba4cd4

jesonmor LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 3514 W: 1832 L: 1679 D: 3
http://www.variantfishtest.org:6543/tests/view/5e29eebb6e23db46beba4cd7

5 years agoSpeed-up for CTF variants
Fabian Fichter [Thu, 23 Jan 2020 18:25:59 +0000]
Speed-up for CTF variants

racingkings STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 576 W: 235 L: 151 D: 190
http://www.variantfishtest.org:6543/tests/view/5e28c2806e23db46beba4cc8

kingofthehill STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 842 W: 410 L: 309 D: 123
http://www.variantfishtest.org:6543/tests/view/5e28c2726e23db46beba4cc5

5 years agoSupport resetting of piece types in configuration
Fabian Fichter [Sat, 18 Jan 2020 12:30:07 +0000]
Support resetting of piece types in configuration

5 years agoStockfish 11
Stéphane Nicolet [Wed, 15 Jan 2020 21:39:27 +0000]
Stockfish 11

Official release version of Stockfish 11.

Bench: 5156767

-----------------------

It is our pleasure to release Stockfish 11 to our fans and supporters.

Downloads are freely available at http://stockfishchess.org/download/

This version 11 of Stockfish is 50 Elo stronger than the last version, and
150 Elo stronger than the version which famously lost a match to AlphaZero
two years ago. This makes Stockfish the strongest chess engine running on
your smartphone or normal desktop PC, and we estimate that on a modern four
cores CPU, Stockfish 11 could give 1:1000 time odds to the human chess champion
having classical time control, and be on par with him. More specific data,
including nice cumulative curves for the progression of Stockfish strength
over the last seven years, can be found on [our progression page][1], at
[Stefan Pohl site][2] or at [NextChessMove][3].

In October 2019 Stockfish has regained its crown in the TCEC competition,
beating in the superfinal of season 16 an evolution of the neural-network
engine Leela that had won the previous season. This clash of style between an
alpha-beta and an neural-network engine produced spectacular chess as always,
with Stockfish [emerging victorious this time][0].

Compared to Stockfish 10, we have made hundreds of improvements to the
[codebase][4], from the evaluation function (improvements in king attacks,
middlegame/endgame transitions, and many more) to the search algorithm (some
innovative coordination methods for the searching threads, better pruning of
unsound tactical lines, etc), and fixed a couple of bugs en passant.

Our testing framework [Fishtest][5] has also seen its share of improvements
to continue propelling Stockfish forward. Along with a lot of small enhancements,
Fishtest has switched to new SPRT bounds to increase the chance of catching Elo
gainers, along with a new testing book and the use of pentanomial statistics to
be more resource-efficient.

Overall the Stockfish project is an example of open-source at its best, as
its buzzing community of programmers sharing ideas and daily reviewing their
colleagues' patches proves to be an ideal form to develop innovative ideas for
chess programming, while the mathematical accuracy of the testing framework
allows us an unparalleled level of quality control for each patch we put in
the engine. If you wish, you too can help our ongoing efforts to keep improving
it, just [get involved][6] :-)

Stockfish is also special in that every chess fan, even if not a programmer,
[can easily help][7] the team to improve the engine by connecting their PC to
Fishtest and let it play some games in the background to test new patches.
Individual contributions vary from 1 to 32 cores, but this year Bojun Guo
made it a little bit special by plugging a whole data center during the whole
year: it was a vertiginous experience to see Fishtest spikes with 17466 cores
connected playing [25600 games/minute][8]. Thanks Guo!

The Stockfish team

[0]: <http://mytcecexperience.blogspot.com/2019/10/season-16-superfinal-games-91-100.html>
[1]: <https://github.com/glinscott/fishtest/wiki/Regression-Tests>
[2]: <https://www.sp-cc.de/index.htm>
[3]: <https://nextchessmove.com/dev-builds>
[4]: <https://github.com/official-stockfish/Stockfish>
[5]: <https://tests.stockfishchess.org/tests>
[6]: <https://stockfishchess.org/get-involved/>
[7]: <https://github.com/glinscott/fishtest/wiki>
[8]: <https://groups.google.com/forum/?fromgroups=#!topic/fishcooking/lebEmG5vgng%5B1-25%5D>

5 years agoReadjust piece values for New Zealand chess
Fabian Fichter [Fri, 17 Jan 2020 15:47:22 +0000]
Readjust piece values for New Zealand chess

newzealand STC
LLR: 2.98 (-2.94,2.94) [0.00,10.00]
Total: 1748 W: 472 L: 385 D: 891
http://www.variantfishtest.org:6543/tests/view/5e2187a86e23db46beba4c74

newzealand LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 1443 W: 371 L: 290 D: 782
http://www.variantfishtest.org:6543/tests/view/5e218c0b6e23db46beba4c77

5 years agoTweak piece values for New Zealand chess
Fabian Fichter [Thu, 16 Jan 2020 21:33:44 +0000]
Tweak piece values for New Zealand chess

newzealand STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 178 W: 121 L: 32 D: 25
http://www.variantfishtest.org:6543/tests/view/5e20d7176e23db46beba4c6f

newzealand LTC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 186 W: 121 L: 34 D: 31
http://www.variantfishtest.org:6543/tests/view/5e20dcee6e23db46beba4c72

5 years agoUpdate Readme.md for the compiler command
Stéphane Nicolet [Wed, 15 Jan 2020 21:21:15 +0000]
Update Readme.md for the compiler command

No functional change

5 years agoMerge official-stockfish/master
Fabian Fichter [Wed, 15 Jan 2020 20:47:59 +0000]
Merge official-stockfish/master

bench: 5066442

5 years agoFix Tsume mode speed regression
Fabian Fichter [Wed, 15 Jan 2020 20:06:22 +0000]
Fix Tsume mode speed regression

5 years agoTweak late move reductions at root
Joost VandeVondele [Mon, 13 Jan 2020 14:46:40 +0000]
Tweak late move reductions at root

More LMR at root, unless a fail low might happen.

passed STC:
 LLR: 2.94 (-2.94,2.94) {-1.00,3.00}
Total: 25428 W: 4960 L: 4789 D: 15679
Ptnml(0-2): 424, 2948, 5832, 3045, 460
http://tests.stockfishchess.org/tests/view/5e1c9afed12216a2857e6401

passed LTC:
 LLR: 2.94 (-2.94,2.94) {0.00,2.00}
Total: 187423 W: 24253 L: 23599 D: 139571
Ptnml(0-2): 1284, 17437, 55536, 18085, 1292
http://tests.stockfishchess.org/tests/view/5e1ceb9975be933c8fe635a3

Closes https://github.com/official-stockfish/Stockfish/pull/2493

Bench: 5156767

5 years agoFix attack bitboard for non-king royal pieces
Fabian Fichter [Sun, 12 Jan 2020 21:53:57 +0000]
Fix attack bitboard for non-king royal pieces

knightmate STC
LLR: 3.00 (-2.94,2.94) [-10.00,5.00]
Total: 308 W: 114 L: 67 D: 127
http://www.variantfishtest.org:6543/tests/view/5e1b95bd6e23db695c3fd2c2

knightmate LTC
LLR: 2.98 (-2.94,2.94) [-10.00,5.00]
Total: 343 W: 121 L: 75 D: 147
http://www.variantfishtest.org:6543/tests/view/5e1b963f6e23db695c3fd2c5

5 years agoTweak reductions for captures/promotions
Stefan Geschwentner [Mon, 13 Jan 2020 10:19:03 +0000]
Tweak reductions for captures/promotions

From the third move reduce captures and promotions more if remaining depth is low.

STC:
LLR: 2.94 (-2.94,2.94) {-1.00,3.00}
Total: 25218 W: 5008 L: 4837 D: 15373
Ptnml(0-2): 439, 2950, 5717, 3001, 499
http://tests.stockfishchess.org/tests/view/5e1b33abd12216a2857e6359

LTC:
LLR: 2.95 (-2.94,2.94) {0.00,2.00}
Total: 35491 W: 4760 L: 4524 D: 26207
Ptnml(0-2): 264, 3288, 10413, 3460, 294
http://tests.stockfishchess.org/tests/view/5e1b88d5d12216a2857e6385

Closes https://github.com/official-stockfish/Stockfish/pull/2488

Bench: 4979757

5 years agoTweak futility pruning constants
Vizvezdenec [Sun, 12 Jan 2020 23:59:06 +0000]
Tweak futility pruning constants

Based on recent improvement of futility pruning by @locutus2 : we lower
the futility margin to apply it for more nodes but as a compensation
we also lower the history threshold to apply it to less nodes. Further
work in tweaking constants can always be done - numbers are guessed
"by hand" and are not results of some tuning, maybe there is some more
Elo to squeeze from this part of code.

Passed STC
LLR: 2.98 (-2.94,2.94) {-1.00,3.00}
Total: 15300 W: 3081 L: 2936 D: 9283
Ptnml(0-2): 260, 1816, 3382, 1900, 290
http://tests.stockfishchess.org/tests/view/5e18da3b27dab692fcf9a158

Passed LTC
LLR: 2.94 (-2.94,2.94) {0.00,2.00}
Total: 108670 W: 14509 L: 14070 D: 80091
Ptnml(0-2): 813, 10259, 31736, 10665, 831
http://tests.stockfishchess.org/tests/view/5e18fc9627dab692fcf9a180

Bench: 4643972