fairystockfish.git
5 years agoFix bench
Fabian Fichter [Thu, 30 Apr 2020 19:23:57 +0000]
Fix bench

bench: 4801778

5 years agoSupport specifying the start of counting phase
Ada Joule [Fri, 24 Apr 2020 20:14:07 +0000]
Support specifying the start of counting phase

Required by gbtami/pychess-variants#172

No functional changes

Closes #76

5 years agoReduce pawn evaluation for sittuyin
Fabian Fichter [Wed, 29 Apr 2020 17:59:14 +0000]
Reduce pawn evaluation for sittuyin

sittuyin STC
LLR: 2.99 (-2.94,2.94) [0.00,10.00]
Total: 444 W: 68 L: 11 D: 365
http://www.variantfishtest.org:6543/tests/view/5ea875bc6e23db36d55f2a4c

sittuyin LTC
LLR: 2.99 (-2.94,2.94) [0.00,10.00]
Total: 484 W: 75 L: 17 D: 392
http://www.variantfishtest.org:6543/tests/view/5ea890676e23db36d55f2a52

5 years agoTweak king safety evaluation
Fabian Fichter [Sat, 25 Apr 2020 15:14:19 +0000]
Tweak king safety evaluation

xiangqi
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 841 W: 305 L: 220 D: 316

janggi
LLR: 1.64 (-2.94,2.94) [0.00,10.00]
Total: 900 W: 432 L: 368 D: 100

5 years agoBump pyffish version
Bajusz Tamás [Sat, 25 Apr 2020 12:09:11 +0000]
Bump pyffish version

5 years agoFix Sittuyin pawn promotion notation
Fabian Fichter [Sat, 25 Apr 2020 09:29:42 +0000]
Fix Sittuyin pawn promotion notation

Add disambiguation to SAN notation for Sittuyin promotions.

5 years agoProhibit attacks by sittuyin promotion
Fabian Fichter [Fri, 24 Apr 2020 17:56:53 +0000]
Prohibit attacks by sittuyin promotion

Fix interpretation of rule 3.9 c.4 that does not allow captures and attacks
by the general as part of promotion moves.

Closes #14.

5 years agoUpdate readme
Fabian Fichter [Fri, 24 Apr 2020 16:14:07 +0000]
Update readme

5 years agoConsider sideway attacks of soldiers in mobility
Fabian Fichter [Fri, 24 Apr 2020 15:31:22 +0000]
Consider sideway attacks of soldiers in mobility

janggi
Total: 200 W: 89 L: 92 D: 19

xiangqi
Total: 200 W: 61 L: 57 D: 82

5 years agoSupport all common Janggi rule sets
Fabian Fichter [Fri, 24 Apr 2020 11:00:00 +0000]
Support all common Janggi rule sets

* Tournament rules with material counting
* Traditional rules with bikjang as draw
* Casual rules without bikjang

Closes #101.

5 years agoSkip initiative for losers chess
Fabian Fichter [Fri, 24 Apr 2020 08:42:11 +0000]
Skip initiative for losers chess

losers STC
LLR: -2.96 (-2.94,2.94) [0.00,10.00]
Total: 25738 W: 11803 L: 11530 D: 2405
http://www.variantfishtest.org:6543/tests/view/5e9613ea6e23db4f73614cd7

losers LTC
LLR: -2.96 (-2.94,2.94) [0.00,10.00]
Total: 12249 W: 5537 L: 5456 D: 1256
http://www.variantfishtest.org:6543/tests/view/5e9b0cf66e23db36d55f299c

5 years agoFix double unlock of mutex in CECP implementation
Fabian Fichter [Fri, 24 Apr 2020 07:24:43 +0000]
Fix double unlock of mutex in CECP implementation

Closes #111.

5 years agoAdd protocol tests
Fabian Fichter [Thu, 23 Apr 2020 22:48:10 +0000]
Add protocol tests

5 years agoTweak Centaur piece value
Fabian Fichter [Thu, 23 Apr 2020 20:28:49 +0000]
Tweak Centaur piece value

orda
LLR: 2.94 (-2.94,2.94) [0.00,10.00]
Total: 336 W: 190 L: 97 D: 49

centaur
Total: 400 W: 183 L: 149 D: 68

5 years agoOnly consider pawns as CTF blockers
Fabian Fichter [Thu, 23 Apr 2020 19:28:53 +0000]
Only consider pawns as CTF blockers

kingofthehill STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 10881 W: 4756 L: 4513 D: 1612
http://www.variantfishtest.org:6543/tests/view/5e9dedad6e23db36d55f29fe

kingofthehill LTC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 7631 W: 3280 L: 3085 D: 1266
http://www.variantfishtest.org:6543/tests/view/5e9e0ed26e23db36d55f2a08

racingkings STC
LLR: -2.97 (-2.94,2.94) [0.00,10.00]
Total: 6852 W: 2200 L: 2190 D: 2462
http://www.variantfishtest.org:6543/tests/view/5e9dedc86e23db36d55f2a01

racingkings LTC
LLR: -2.98 (-2.94,2.94) [0.00,10.00]
Total: 14921 W: 4163 L: 4063 D: 6695
http://www.variantfishtest.org:6543/tests/view/5e9e0eda6e23db36d55f2a0a

5 years agoAdd orda to variants.ini
Fabian Fichter [Thu, 23 Apr 2020 17:35:13 +0000]
Add orda to variants.ini

5 years agoFix butterfly history array size
Fabian Fichter [Wed, 22 Apr 2020 07:03:44 +0000]
Fix butterfly history array size

Closes #110.

5 years agoExclude paths via CTF squares
Fabian Fichter [Mon, 20 Apr 2020 18:39:03 +0000]
Exclude paths via CTF squares

kingofthehill STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 1236 W: 580 L: 473 D: 183
http://www.variantfishtest.org:6543/tests/view/5e9c51f56e23db36d55f29e1

kingofthehill LTC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 3585 W: 1551 L: 1413 D: 621
http://www.variantfishtest.org:6543/tests/view/5e9c600f6e23db36d55f29e8

racingkings STC
LLR: -2.97 (-2.94,2.94) [0.00,10.00]
Total: 3192 W: 1005 L: 1041 D: 1146
http://www.variantfishtest.org:6543/tests/view/5e9c52076e23db36d55f29e4

racingkings LTC
LLR: 2.95 (-2.94,2.94) [-10.00,5.00]
Total: 5250 W: 1430 L: 1413 D: 2407
http://www.variantfishtest.org:6543/tests/view/5e9c60076e23db36d55f29e6

5 years agoConsider pins by lame leapers in slider blockers
Fabian Fichter [Sun, 19 Apr 2020 12:27:56 +0000]
Consider pins by lame leapers in slider blockers

janggi
Total: 300 W: 135 L: 126 D: 39

xiangqi
Total: 300 W: 95 L: 92 D: 113

5 years agoStart ASEAN counting from zero
Fabian Fichter [Sun, 19 Apr 2020 10:52:52 +0000]
Start ASEAN counting from zero

Starting from the piece count only applies to Makruk, not to ASEAN.

Closes #104.

5 years agoConsider double blocked squares in CTF evaluation
Fabian Fichter [Sun, 19 Apr 2020 06:55:38 +0000]
Consider double blocked squares in CTF evaluation

racingkings STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 1004 W: 387 L: 296 D: 321
http://www.variantfishtest.org:6543/tests/view/5e9b4ecf6e23db36d55f29cc

racingkings LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 1647 W: 504 L: 414 D: 729
http://www.variantfishtest.org:6543/tests/view/5e9b572b6e23db36d55f29d2

kingofthehill STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 1849 W: 884 L: 765 D: 200
http://www.variantfishtest.org:6543/tests/view/5e9b4eb86e23db36d55f29c9

kingofthehill LTC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 1252 W: 602 L: 493 D: 157
http://www.variantfishtest.org:6543/tests/view/5e9b57236e23db36d55f29d0

5 years agoSupport casual rules of Janggi
Fabian Fichter [Sat, 18 Apr 2020 12:27:54 +0000]
Support casual rules of Janggi

In casual rules, bikjang is a draw, which is enabled for variant `janggicasual`.

Closes #101.

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