fairystockfish.git
4 years agoSupport diagonal cannon movements
Fabian Fichter [Fri, 30 Apr 2021 14:50:29 +0000]
Support diagonal cannon movements

4 years agoComplete variant descriptions
Fabian Fichter [Sun, 25 Apr 2021 14:25:17 +0000]
Complete variant descriptions

Add brief descriptions and references to all remaining variants.

Closes #248.

4 years agoFix ambiguous castling notation
Fabian Fichter [Fri, 23 Apr 2021 15:49:44 +0000]
Fix ambiguous castling notation

Use chess960 castling notation when castling move would be ambiguous.

Closes #295.

4 years agoAdd more variant descriptions
Fabian Fichter [Fri, 23 Apr 2021 11:03:08 +0000]
Add more variant descriptions

4 years agoSpeed up piece evaluation
Fabian Fichter [Fri, 23 Apr 2021 09:29:46 +0000]
Speed up piece evaluation

standard STC
ELO: 16.27 +-4.6 (95%) LOS: 100.0%
Total: 10000 W: 2492 L: 2024 D: 5484

No functional change.

4 years agoSpeed up pocket evaluation
Fabian Fichter [Thu, 22 Apr 2021 20:33:39 +0000]
Speed up pocket evaluation

crazyhouse STC
ELO: 23.77 +-6.7 (95%) LOS: 100.0%
Total: 10000 W: 5176 L: 4493 D: 331

No functional change.

4 years agoUpdate Variants.ini (#290)
Belzedar94 [Wed, 21 Apr 2021 18:33:26 +0000]
Update Variants.ini (#290)

Add support for the following variants:

4x5 Chess // https://greenchess.net/rules.php?v=4x5-chess --> Solved draw
4x6 Chess // https://greenchess.net/rules.php?v=4x6-chess --> Solved draw
5x6 chess // https://greenchess.net/rules.php?v=5x6-chess
Active chess // https://greenchess.net/rules.php?v=active
Advanced Pawn chess // https://greenchess.net/rules.php?v=advanced-pawn
Capture-all Chess // https://greenchess.net/rules.php?v=capture-all
Capture chess // https://vchess.club/#/variants/Capture
Checkless 6x6 Atomic // Checkless atomic on a 6x6 board
Corner Rook Chess // https://greenchess.net/rules.php?v=corner-rook
Crossing chess // https://vchess.club/#/variants/Crossing
Diana Chess // https://greenchess.net/rules.php?v=diana (Kingside castling not working)
Double Army chess // https://vchess.club/#/variants/Doublearmy
Empire // https://vchess.club/#/variants/Empire
Goth House // Gothic Chess + Crazyhouse
Maharajah 2 // https://vchess.club/#/variants/Maharajah (Balanced version of Maharajah and the Sepoys)
Microchess // https://greenchess.net/rules.php?v=microchess
Pawn Massacre chess // https://vchess.club/#/variants/Pawnmassacre
Screen chess // https://vchess.club/#/variants/Screen (This version assumes 1 drop per turn instead of the whole blind setup as in vchess)
Shinobi // https://vchess.club/#/variants/Shinobi
Synochess // https://www.pychess.org/variant/synochess
Wildebeest // https://vchess.club/#/variants/Wildebeest

4 years agoBump pyffish version (#297)
Bajusz Tamás [Wed, 21 Apr 2021 08:08:16 +0000]
Bump pyffish version (#297)

4 years agoTweak automatic piece value calculation
Fabian Fichter [Mon, 19 Apr 2021 21:57:59 +0000]
Tweak automatic piece value calculation

4 years agoUpdate expected test results
Fabian Fichter [Sun, 18 Apr 2021 20:02:56 +0000]
Update expected test results

4 years agoTweak king PSQT for check and atomic variants
Fabian Fichter [Sun, 18 Apr 2021 19:58:40 +0000]
Tweak king PSQT for check and atomic variants

atomic STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 1708 W: 617 L: 518 D: 573
http://www.variantfishtest.org:6543/tests/view/606f41666e23db21bb8bcac1

atomic LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 1519 W: 529 L: 435 D: 555
http://www.variantfishtest.org:6543/tests/view/60701de66e23db21bb8bcad0

3check STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 2576 W: 1279 L: 1145 D: 152
http://www.variantfishtest.org:6543/tests/view/606f417d6e23db21bb8bcac6

3check LTC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 2153 W: 1065 L: 938 D: 150
http://www.variantfishtest.org:6543/tests/view/60701dd66e23db21bb8bcacc

karouk STC
LLR: 2.95 (-2.94,2.94) [-10.00,5.00]
Total: 575 W: 293 L: 234 D: 48
http://www.variantfishtest.org:6543/tests/view/6074a1166e23db21bb8bcb07

karouk LTC
LLR: 2.95 (-2.94,2.94) [-10.00,5.00]
Total: 673 W: 323 L: 267 D: 83
http://www.variantfishtest.org:6543/tests/view/607575ee6e23db21bb8bcb1d

4 years agoReplace rarely used pieces by configuration
Fabian Fichter [Sun, 18 Apr 2021 19:52:44 +0000]
Replace rarely used pieces by configuration

4 years agoUse letter 'f' for Falcon piece in Ordamirror (#293)
Bajusz Tamás [Sun, 18 Apr 2021 12:49:38 +0000]
Use letter 'f' for Falcon piece in Ordamirror  (#293)

4 years agoSupport configurable pieces
Fabian Fichter [Sat, 17 Apr 2021 17:01:20 +0000]
Support configurable pieces

* Add >20 slots for user defined pieces
* Parse piece movement from Betza notation
* Precalculate piece values but allow overrides
* Support Tencubed, Yari shogi, and Okisaki shogi

Closes #58 and #146.

bench: 4039197

4 years agoAdd error message for ffishjs start FEN test
Fabian Fichter [Wed, 14 Apr 2021 20:35:34 +0000]
Add error message for ffishjs start FEN test

4 years agoBump pyffish version (#289)
Bajusz Tamás [Tue, 13 Apr 2021 10:22:08 +0000]
Bump pyffish version (#289)

4 years agoSimplify bitboard initialization
Fabian Fichter [Sun, 11 Apr 2021 17:09:18 +0000]
Simplify bitboard initialization

No functional change.

4 years agoDefine piece types using Betza notation
Fabian Fichter [Sun, 11 Apr 2021 14:44:51 +0000]
Define piece types using Betza notation

As preparation for configurable piece types,
simplify definition of piece types by using Betza notation.

No functional change.

4 years agoRefactor FEN validation
Fabian Fichter [Fri, 9 Apr 2021 15:52:57 +0000]
Refactor FEN validation

- Support X-FEN validation
- Support fetching variant list in pyffish
- Use variant configuration properties more consistently
- Fix a few corner cases
- Improve test coverage
- More consistent formatting

Closes #87.

4 years agoUpdate readme
Fabian Fichter [Mon, 5 Apr 2021 11:47:52 +0000]
Update readme

4 years agoSimplify evaluation of virtual pieces
Fabian Fichter [Sun, 4 Apr 2021 13:50:15 +0000]
Simplify evaluation of virtual pieces

bughouse STC
ELO: 107.54 +-72.6 (95%) LOS: 99.9%
Total: 100 W: 65 L: 35 D: 0

bughouse LTC
ELO: 138.99 +-75.2 (95%) LOS: 100.0%
Total: 100 W: 69 L: 31 D: 0

4 years agoSupport virtual piece drops (#122)
Fabian Fichter [Sun, 4 Apr 2021 09:08:48 +0000]
Support virtual piece drops (#122)

Support negative piece counts for bughouse,
and allow virtual piece drops under certain conditions.
This enables the engine to consider the effect of future piece flows,
which is required for more sophisticated communication and strategy.

This significantly improves performance against human opponents,
with only a moderate regression in self-play.

4 years agoPrepare for virtual piece drops
Fabian Fichter [Fri, 2 Apr 2021 19:37:51 +0000]
Prepare for virtual piece drops

Make code more robust for negative piece count.

No functional change.

4 years agoSome more variant descriptions
Fabian Fichter [Fri, 2 Apr 2021 18:32:12 +0000]
Some more variant descriptions

No functional change.

4 years agoSimplify piece value calculation
Fabian Fichter [Thu, 1 Apr 2021 17:14:22 +0000]
Simplify piece value calculation

karouk STC
LLR: -2.99 (-2.94,2.94) [-10.00,5.00]
Total: 9432 W: 4175 L: 4305 D: 952
http://www.variantfishtest.org:6543/tests/view/60620a8b6e23db21bb8bca92

karouk LTC
LLR: 2.96 (-2.94,2.94) [-10.00,5.00]
Total: 4812 W: 2122 L: 2095 D: 595
http://www.variantfishtest.org:6543/tests/view/6062c9c06e23db21bb8bca97

4 years agoAdd more comments for variant code
Fabian Fichter [Mon, 29 Mar 2021 19:38:00 +0000]
Add more comments for variant code

No functional change.

4 years agoExtend variant configuration checks
Fabian Fichter [Mon, 29 Mar 2021 19:07:37 +0000]
Extend variant configuration checks

4 years agoAdd more variant documentation comments (#248)
Fabian Fichter [Mon, 29 Mar 2021 18:32:07 +0000]
Add more variant documentation comments (#248)

No functional change.

4 years agoImprove test coverage
Fabian Fichter [Mon, 29 Mar 2021 17:56:27 +0000]
Improve test coverage

Add further tests to cover more variant configuration features.

Closes #279.

No functional change.

4 years agoBetter document piece value calculation
Fabian Fichter [Mon, 29 Mar 2021 10:38:49 +0000]
Better document piece value calculation

No functional change.

4 years agoSimplify variant piece value adjustments
Fabian Fichter [Sat, 27 Mar 2021 12:39:05 +0000]
Simplify variant piece value adjustments

No functional change.

4 years agoTweak racing kings middlegame values
Fabian Fichter [Fri, 26 Mar 2021 22:51:40 +0000]
Tweak racing kings middlegame values

racingkings STC
LLR: -2.96 (-2.94,2.94) [0.00,10.00]
Total: 60604 W: 19139 L: 18467 D: 22998
http://www.variantfishtest.org:6543/tests/view/605e65a06e23db21bb8bca5c

racingkings LTC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 3390 W: 1026 L: 914 D: 1450
http://www.variantfishtest.org:6543/tests/view/605e78e96e23db21bb8bca5f

4 years agoTweak racing kings endgame piece values
Fabian Fichter [Sat, 27 Mar 2021 10:49:35 +0000]
Tweak racing kings endgame piece values

racingkings STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 1035 W: 370 L: 282 D: 383
http://www.variantfishtest.org:6543/tests/view/605e58276e23db21bb8bca56

racingkings LTC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 1886 W: 582 L: 488 D: 816
http://www.variantfishtest.org:6543/tests/view/605e64f66e23db21bb8bca5a

4 years agoSimplify horde breakthrough bonus
Fabian Fichter [Mon, 22 Mar 2021 19:07:04 +0000]
Simplify horde breakthrough bonus

horde STC
LLR: 2.96 (-2.94,2.94) [-10.00,5.00]
Total: 9409 W: 4643 L: 4643 D: 123
http://www.variantfishtest.org:6543/tests/view/6057234c6e23db669974eb19

horde LTC
LLR: 2.98 (-2.94,2.94) [-10.00,5.00]
Total: 3083 W: 1546 L: 1500 D: 37
http://www.variantfishtest.org:6543/tests/view/6058449d6e23db669974eb27

4 years agoTweak atomic pawn endgame value
Fabian Fichter [Mon, 22 Mar 2021 19:06:20 +0000]
Tweak atomic pawn endgame value

atomic STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 2650 W: 951 L: 839 D: 860
http://www.variantfishtest.org:6543/tests/view/60571eb36e23db669974eb07

atomic LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 5829 W: 1959 L: 1810 D: 2060
http://www.variantfishtest.org:6543/tests/view/60579b976e23db669974eb24

4 years agoFix en passant in FEN for grand in CECP
Fabian Fichter [Fri, 19 Mar 2021 23:44:19 +0000]
Fix en passant in FEN for grand in CECP

Closes #282.

4 years agoMake atomic castling fully compatible with lichess
Fabian Fichter [Fri, 19 Mar 2021 23:38:29 +0000]
Make atomic castling fully compatible with lichess

Closes #281.

4 years agoExtend perft tests (#279)
Fabian Fichter [Fri, 19 Mar 2021 18:52:37 +0000]
Extend perft tests (#279)

4 years agoDouble atomic PSQT bonus
Fabian Fichter [Fri, 19 Mar 2021 12:10:44 +0000]
Double atomic PSQT bonus

atomic STC
LLR: 2.94 (-2.94,2.94) [0.00,10.00]
Total: 2344 W: 840 L: 733 D: 771
http://www.variantfishtest.org:6543/tests/view/605270806e23db669974eac6

atomic LTC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 1767 W: 615 L: 517 D: 635
http://www.variantfishtest.org:6543/tests/view/605300406e23db669974ead2

4 years agoTweak PSQT for pseudo-kings
Fabian Fichter [Fri, 19 Mar 2021 12:09:37 +0000]
Tweak PSQT for pseudo-kings

extinction STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 495 W: 285 L: 181 D: 29
http://www.variantfishtest.org:6543/tests/view/605300756e23db669974ead6

extinction LTC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 429 W: 253 L: 150 D: 26
http://www.variantfishtest.org:6543/tests/view/605390b36e23db669974eada

atomic STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 3389 W: 1195 L: 1074 D: 1120
http://www.variantfishtest.org:6543/tests/view/605271e06e23db669974eacc

atomic LTC
LLR: 2.94 (-2.94,2.94) [0.00,10.00]
Total: 1599 W: 546 L: 452 D: 601
http://www.variantfishtest.org:6543/tests/view/605390e86e23db669974eade

4 years agoRestore development version
Fabian Fichter [Sat, 13 Mar 2021 21:58:24 +0000]
Restore development version

4 years agoFairy-Stockfish 13
Fabian Fichter [Sat, 13 Mar 2021 12:41:25 +0000]
Fairy-Stockfish 13

bench: 4257608

4 years agoUpdate readme
Fabian Fichter [Fri, 12 Mar 2021 19:54:33 +0000]
Update readme

4 years agoFurther fix for placement castling
Fabian Fichter [Fri, 12 Mar 2021 18:45:31 +0000]
Further fix for placement castling

Also initialize castling king square on rook drops.

4 years agoFix castling initialization for placement chess
Fabian Fichter [Fri, 12 Mar 2021 18:20:41 +0000]
Fix castling initialization for placement chess

Refactoring of 960 castling broke placement chess castling.
Add initialization of king position to prevent undefined behavior.

4 years agoSuppress variant setup output on protocol change
Fabian Fichter [Fri, 12 Mar 2021 11:44:36 +0000]
Suppress variant setup output on protocol change

Since this might confuse GUIs, skip the variant definition output
whent he variant change is triggered by a protocol change.

4 years agoReset to starting position on protocol change
Fabian Fichter [Fri, 12 Mar 2021 09:48:45 +0000]
Reset to starting position on protocol change

Prevents issues with non-compliant GUIs not sending position command.

4 years agoAdd variant reinitialization on protocol change
Fabian Fichter [Thu, 11 Mar 2021 22:12:46 +0000]
Add variant reinitialization on protocol change

This ensures reinitialization of PSQT when changing the
default variant by switching the protocol via usi/ucci.

No functional change for UCI and CECP usage.

4 years agoSupport red as color in Xiangqi FENs
Fabian Fichter [Thu, 11 Mar 2021 19:52:50 +0000]
Support red as color in Xiangqi FENs

4 years agoMerge official-stockfish/master
Fabian Fichter [Tue, 9 Mar 2021 20:58:02 +0000]
Merge official-stockfish/master

No functional change.

4 years agoMerge official-stockfish/master
Fabian Fichter [Tue, 9 Mar 2021 20:41:09 +0000]
Merge official-stockfish/master

bench: 4257608

4 years agoMerge official-stockfish/master
Fabian Fichter [Tue, 9 Mar 2021 20:33:44 +0000]
Merge official-stockfish/master

No functional change.

4 years agoMerge official-stockfish/master
Fabian Fichter [Tue, 9 Mar 2021 20:27:54 +0000]
Merge official-stockfish/master

bench: 4788083

4 years agoMerge official-stockfish/master
Fabian Fichter [Tue, 9 Mar 2021 20:19:56 +0000]
Merge official-stockfish/master

No functional change.

4 years agoAdd Fairy-Stockfish contributor list
Fabian Fichter [Mon, 8 Mar 2021 19:39:41 +0000]
Add Fairy-Stockfish contributor list

4 years agoTweak atomic pawn value
Fabian Fichter [Mon, 8 Mar 2021 18:23:34 +0000]
Tweak atomic pawn value

atomic STC
LLR: 2.98 (-2.94,2.94) [0.00,10.00]
Total: 14941 W: 5277 L: 5004 D: 4660
http://www.variantfishtest.org:6543/tests/view/60432e216e23db669974e9f5

atomic LTC
LLR: 2.98 (-2.94,2.94) [0.00,10.00]
Total: 1915 W: 676 L: 575 D: 664
http://www.variantfishtest.org:6543/tests/view/6045d4176e23db669974ea0b

4 years agoPrecalculate endgameEval flag
Fabian Fichter [Sun, 7 Mar 2021 17:42:06 +0000]
Precalculate endgameEval flag

This supersedes manual definition of the endgame evalution flag.

For a few variants the automatically calculated flag now enables
endgame evaluation where before it was explicitly disabled.

losalamos STC
LLR: 2.97 (-2.94,2.94) [-10.00,5.00]
Total: 1151 W: 292 L: 253 D: 606
http://www.variantfishtest.org:6543/tests/view/6044ea416e23db669974ea05

Closes #271.

4 years agoSupport shogi NNUE evaluation (#199)
Fabian Fichter [Sat, 6 Mar 2021 15:19:33 +0000]
Support shogi NNUE evaluation (#199)

Refactor variant NNUE handling in order to support
shogi NNUE evaluation and to improve maintainability.

Credits to @tttak for the initial implementation of this feature.

4 years agoFix parsing of player time in USI protocol
Fabian Fichter [Sat, 6 Mar 2021 09:52:50 +0000]
Fix parsing of player time in USI protocol

Since white and black are interchanged in the USI protocol,
the parsing of the player time needs to consider that.

Closes #269.

4 years agoFurther increase atomic PSQT bonus
Fabian Fichter [Sat, 6 Mar 2021 07:18:32 +0000]
Further increase atomic PSQT bonus

atomic STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 5823 W: 2030 L: 1878 D: 1915
http://www.variantfishtest.org:6543/tests/view/6042003b6e23db669974e9da

atomic LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 2639 W: 878 L: 771 D: 990
http://www.variantfishtest.org:6543/tests/view/6042044d6e23db669974e9e0

4 years agoGeneralize doubled pawn drop setting
Fabian Fichter [Fri, 5 Mar 2021 15:33:16 +0000]
Generalize doubled pawn drop setting

Allow to prohibit dropping a doubled piece of any type,
not only restricted to shogi pawns.

Closes #266.

4 years agoFurther increase atomic PSQT bonus
Fabian Fichter [Fri, 5 Mar 2021 09:54:11 +0000]
Further increase atomic PSQT bonus

atomic STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 3903 W: 1340 L: 1214 D: 1349
http://www.variantfishtest.org:6543/tests/view/60412a806e23db669974e9d0

atomic LTC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 3286 W: 1074 L: 959 D: 1253
http://www.variantfishtest.org:6543/tests/view/60413a0b6e23db669974e9d6

4 years agoUpdated ffish.js to 0.6.1
QueensGambit [Thu, 4 Mar 2021 22:55:36 +0000]
Updated ffish.js to 0.6.1
+ added unit test for atomic(960) castling rights from @gbtami

4 years agoOnly download NNUE net if required
Fabian Fichter [Thu, 4 Mar 2021 21:58:47 +0000]
Only download NNUE net if required

Closes #257.

4 years agoTweak atomic PSQT bonus
Fabian Fichter [Thu, 4 Mar 2021 18:40:52 +0000]
Tweak atomic PSQT bonus

atomic STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 17388 W: 5929 L: 5630 D: 5829
http://www.variantfishtest.org:6543/tests/view/603fe73c6e23db669974e9c8

atomic LTC
LLR: 2.98 (-2.94,2.94) [0.00,10.00]
Total: 1756 W: 598 L: 501 D: 657
http://www.variantfishtest.org:6543/tests/view/6040982f6e23db669974e9cc

4 years agoBonus for advanced pieces in atomic
Fabian Fichter [Wed, 3 Mar 2021 19:39:49 +0000]
Bonus for advanced pieces in atomic

atomic STC
LLR: 2.98 (-2.94,2.94) [0.00,10.00]
Total: 2361 W: 814 L: 708 D: 839
http://www.variantfishtest.org:6543/tests/view/603e83ab6e23db669974e9b6

atomic LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 2720 W: 904 L: 796 D: 1020
http://www.variantfishtest.org:6543/tests/view/603ec8a26e23db669974e9bb

4 years agoBump pyffish version
Fabian Fichter [Sun, 28 Feb 2021 12:43:30 +0000]
Bump pyffish version

4 years agoUpdate readme
Fabian Fichter [Sun, 28 Feb 2021 12:41:44 +0000]
Update readme

4 years agoSupport pseudo-royal pieces
Fabian Fichter [Sun, 28 Feb 2021 11:27:27 +0000]
Support pseudo-royal pieces

This implements support for pseudo-royal pieces,
which allows to now fully support some new variants:
- lichess atomic rules
- coregal chess
- maharajah and the sepoys

Closes #81.

No functional change for other variants.

4 years agoTweak singular extension for horde
Fabian Fichter [Sat, 27 Feb 2021 23:20:07 +0000]
Tweak singular extension for horde

horde STC
LLR: -2.95 (-2.94,2.94) [0.00,10.00]
Total: 4108 W: 2008 L: 2050 D: 50
http://www.variantfishtest.org:6543/tests/view/60291c396e23db669974e90c

horde LTC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 9687 W: 4917 L: 4676 D: 94
http://www.variantfishtest.org:6543/tests/view/6029a4e46e23db669974e910

horde VLTC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 11750 W: 5938 L: 5667 D: 145
http://www.variantfishtest.org:6543/tests/view/602e57606e23db669974e923

4 years agoBumb pyffish version (#263)
Bajusz Tamás [Sat, 27 Feb 2021 21:06:58 +0000]
Bumb pyffish version (#263)

4 years agoFix assertion for atomic
Fabian Fichter [Sat, 27 Feb 2021 10:26:02 +0000]
Fix assertion for atomic

No functional change.

4 years agoSupport atomic NNUE
Fabian Fichter [Fri, 26 Feb 2021 17:33:40 +0000]
Support atomic NNUE

4 years agoSpeed up move generation
Fabian Fichter [Fri, 26 Feb 2021 16:52:49 +0000]
Speed up move generation

standard STC
LLR: -2.97 (-2.94,2.94) [0.00,10.00]
Total: 7654 W: 1715 L: 1705 D: 4234
http://www.variantfishtest.org:6543/tests/view/60341b906e23db669974e955

seirawan STC
LLR: -2.97 (-2.94,2.94) [0.00,10.00]
Total: 7286 W: 2480 L: 2464 D: 2342
http://www.variantfishtest.org:6543/tests/view/6034b1936e23db669974e962

minishogi STC
LLR: -2.96 (-2.94,2.94) [0.00,10.00]
Total: 9644 W: 4840 L: 4804 D: 0
http://www.variantfishtest.org:6543/tests/view/6034b1796e23db669974e960

bench: 4387985

4 years agoSpeed up slider blockers
Fabian Fichter [Fri, 26 Feb 2021 16:31:15 +0000]
Speed up slider blockers

standard STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 1370 W: 361 L: 280 D: 729
http://www.variantfishtest.org:6543/tests/view/603423e96e23db669974e95c

seirawan STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 2789 W: 1023 L: 908 D: 858
http://www.variantfishtest.org:6543/tests/view/603423f56e23db669974e95e

4 years agoEnable faster attack calculation for more variants
Fabian Fichter [Fri, 19 Feb 2021 19:34:34 +0000]
Enable faster attack calculation for more variants

seirawan STC
LLR: 2.95 (-2.94,2.94) [0.00,10.00]
Total: 311 W: 160 L: 75 D: 76
http://www.variantfishtest.org:6543/tests/view/602ff3976e23db669974e93f

capablanca STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 285 W: 151 L: 66 D: 68
http://www.variantfishtest.org:6543/tests/view/603000616e23db669974e943

shogi STC
LLR: 2.97 (-2.94,2.94) [0.00,10.00]
Total: 635 W: 373 L: 261 D: 1
http://www.variantfishtest.org:6543/tests/view/602ff24e6e23db669974e93c

4 years agoFix attackers calculation for cambodian
Fabian Fichter [Fri, 19 Feb 2021 16:27:40 +0000]
Fix attackers calculation for cambodian

Use slow attackers calculation to consider special moves.

4 years agoSimplify fast attackers_to
Fabian Fichter [Fri, 19 Feb 2021 16:20:04 +0000]
Simplify fast attackers_to

dobutsu STC
LLR: -2.97 (-2.94,2.94) [0.00,10.00]
Total: 12830 W: 4730 L: 4640 D: 3460
http://www.variantfishtest.org:6543/tests/view/602c34f06e23db669974e914

standard STC
LLR: 3.01 (-2.94,2.94) [-10.00,5.00]
Total: 5190 W: 1157 L: 1138 D: 2895
http://www.variantfishtest.org:6543/tests/view/602cc4366e23db669974e91c

makruk STC
LLR: 3.02 (-2.94,2.94) [-10.00,5.00]
Total: 12761 W: 978 L: 966 D: 10817
http://www.variantfishtest.org:6543/tests/view/602d5ab46e23db669974e920

4 years agoStockfish 13
Joost VandeVondele [Mon, 15 Feb 2021 12:58:51 +0000]
Stockfish 13

Official release version of Stockfish 13

Bench: 3766422

-----

It is our pleasure to release Stockfish 13 to chess fans worldwide.
As usual, downloads are freely available at

https://stockfishchess.org

The Stockfish project builds on a thriving community of enthusiasts
who contribute their expertise, time, and resources to build a free
and open-source chess engine that is robust, widely available, and
very strong. We would like to thank them all!

The good news first: from now on, our users can expect more frequent
high-quality releases of Stockfish! Sadly, this decision has been
triggered by the start of sales of the Fat Fritz 2 engine by ChessBase,
which is a copy of a very recent development version of Stockfish
with minor modifications. We refer to our statement on Fat Fritz 2[1]
and a community blog[2] for further information.

This version of Stockfish is significantly stronger than any of its
predecessors. Stockfish 13 outperforms Stockfish 12 by at least
35 Elo[3]. When playing against a one-year-old Stockfish, it wins 60
times more game pairs than it loses[4]. This release features an NNUE
network retrained on billions of positions, much faster network
evaluation code, and significantly improved search heuristics, as
well as additional evaluation tweaks. In the course of its development,
this version has won the superfinals of the TCEC Season 19 and
TCEC Season 20.

Going forward, the Leela Chess Zero and Stockfish teams will join
forces to demonstrate our commitment to open source chess engines and
training tools, and open data. We are convinced that our free and
open-source chess engines serve the chess community very well.

Stay safe and enjoy chess!

The Stockfish team
[1] https://blog.stockfishchess.org/post/643239805544792064/statement-on-fat-fritz-2
[2] https://lichess.org/blog/YCvy7xMAACIA8007/fat-fritz-2-is-a-rip-off
[3] https://tests.stockfishchess.org/tests/view/602bcccf7f517a561bc49b11
[4] https://tests.stockfishchess.org/tests/view/600fbb9c735dd7f0f0352d59

4 years agoUse faster attackers generation for more variants
Fabian Fichter [Tue, 16 Feb 2021 21:09:45 +0000]
Use faster attackers generation for more variants

makruk STC
LLR: 2.98 (-2.94,2.94) [0.00,10.00]
Total: 1175 W: 127 L: 66 D: 982
http://www.variantfishtest.org:6543/tests/view/6026a0606e23db669974e8f7

minishogi STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 3706 W: 1931 L: 1775 D: 0
http://www.variantfishtest.org:6543/tests/view/6026a0516e23db669974e8f4

standard STC
LLR: 3.00 (-2.94,2.94) [-10.00,5.00]
Total: 31166 W: 6843 L: 6953 D: 17370
http://www.variantfishtest.org:6543/tests/view/6026a0686e23db669974e8f9

4 years agoUpdate README.md
Stéphane Nicolet [Tue, 16 Feb 2021 15:19:37 +0000]
Update README.md

• reorder some sections of the README file
• add reference to the AUTHORS file
• rename Syzygybases to Syzygy tablebases
• add pointer to the Discord channel
• more precise info about the GPLv3 licence

No functional change

4 years agoSmall trivial clean-ups, February 2021
Lolligerhans [Sun, 31 Jan 2021 12:46:05 +0000]
Small trivial clean-ups, February 2021

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

No functional change

4 years agoUpdate Top CPU Contributors
Stéphane Nicolet [Mon, 15 Feb 2021 22:58:03 +0000]
Update Top CPU Contributors

No functional change

4 years agoAdd atomic hybrid variants to variants.ini
Fabian Fichter [Fri, 12 Feb 2021 08:52:30 +0000]
Add atomic hybrid variants to variants.ini

4 years agoPV-Nodes likely to fail low
Vizvezdenec [Thu, 11 Feb 2021 07:45:16 +0000]
PV-Nodes likely to fail low

Do not decrease reduction at pv-nodes which are likely to fail low.

The idea of this patch can be described as following: during the search, if a node
on the principal variation was re-searched in non-pv search and this re-search got
a value which was much lower than alpha, then we can assume that this pv-node is
likely to fail low again, and we can reduce more aggressively at this node.

Passed STC
https://tests.stockfishchess.org/tests/view/6023a5fa7f517a561bc49638
LLR: 2.95 (-2.94,2.94) {-0.25,1.25}
Total: 70288 W: 6443 L: 6223 D: 57622
Ptnml(0-2): 239, 5022, 24436, 5174, 273

Passed LTC
https://tests.stockfishchess.org/tests/view/6023f2617f517a561bc49661
LLR: 2.94 (-2.94,2.94) {0.25,1.25}
Total: 105656 W: 4048 L: 3748 D: 97860
Ptnml(0-2): 67, 3312, 45761, 3630, 58

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

Bench: 3766422

4 years agoMerge official-stockfish/master
Fabian Fichter [Thu, 11 Feb 2021 22:29:23 +0000]
Merge official-stockfish/master

bench: 4387592

4 years agoMerge official-stockfish/master
Fabian Fichter [Thu, 11 Feb 2021 22:20:23 +0000]
Merge official-stockfish/master

No functional change.

4 years agoBetter code for hash table generation
mattginsberg [Thu, 11 Feb 2021 21:29:28 +0000]
Better code for hash table generation

This patch removes some magic numbers in TT bit management and introduce proper
constants in the code, to improve documentation and ease further modifications.

No function change

4 years agoSimplify LMR for losers chess
Fabian Fichter [Wed, 10 Feb 2021 19:42:20 +0000]
Simplify LMR for losers chess

losers STC
LLR: 2.99 (-2.94,2.94) [-10.00,5.00]
Total: 1844 W: 823 L: 775 D: 246
http://www.variantfishtest.org:6543/tests/view/602303586e23db669974e8ca

losers LTC
LLR: 2.99 (-2.94,2.94) [-10.00,5.00]
Total: 1579 W: 711 L: 661 D: 207
http://www.variantfishtest.org:6543/tests/view/602389266e23db669974e8d5

4 years agoEnable New Pass Manager for Clang.
Gian-Carlo Pascutto [Tue, 9 Feb 2021 16:38:58 +0000]
Enable New Pass Manager for Clang.

It's about 1% speedup for Stockfish.

Result of 100 runs
==================
base (...fish_clang12) =    1946851  +/- 3717
test (./stockfish    ) =    1967276  +/- 3408
diff                   =     +20425  +/- 2438

speedup        = +0.0105
P(speedup > 0) =  1.0000

Thanks to David Major for making me aware of this part
of LLVM development.

closes https://github.com/official-stockfish/Stockfish/pull/3346

No functional change

4 years agoDisable ThinLTO when using Clang.
Gian-Carlo Pascutto [Tue, 9 Feb 2021 13:05:35 +0000]
Disable ThinLTO when using Clang.

Benchmarking with current Clang 12 shows that
and ThinLTO is a pessimization, see issue #3341.

closes https://github.com/official-stockfish/Stockfish/pull/3345

No functional change.

4 years agoFixes FreeBSD compilation when using Clang
Andy Pilate [Mon, 8 Feb 2021 21:02:42 +0000]
Fixes FreeBSD compilation when using Clang

closes https://github.com/official-stockfish/Stockfish/pull/3342

No functional change

4 years agoTweak move count pruning for atomic
Fabian Fichter [Tue, 9 Feb 2021 20:52:19 +0000]
Tweak move count pruning for atomic

atomic STC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 2093 W: 793 L: 686 D: 614
http://www.variantfishtest.org:6543/tests/view/601c78c06e23db669974e7c5

atomic LTC
LLR: 2.96 (-2.94,2.94) [0.00,10.00]
Total: 4343 W: 1478 L: 1347 D: 1518
http://www.variantfishtest.org:6543/tests/view/601d0bc96e23db669974e7ee

atomic VLTC
LLR: 2.98 (-2.94,2.94) [0.00,10.00]
Total: 1722 W: 594 L: 497 D: 631
http://www.variantfishtest.org:6543/tests/view/601e71686e23db669974e813

4 years agoSpeedup for variants with commoners
Fabian Fichter [Tue, 9 Feb 2021 20:39:59 +0000]
Speedup for variants with commoners

No functional change.

4 years agoSimplify antichess move picking
Fabian Fichter [Tue, 9 Feb 2021 20:13:52 +0000]
Simplify antichess move picking

No functional change.

4 years agoImprove caching of must capture state
Fabian Fichter [Tue, 9 Feb 2021 19:30:22 +0000]
Improve caching of must capture state

giveaway STC
LLR: 2.97 (-2.94,2.94) [-10.00,5.00]
Total: 473 W: 222 L: 167 D: 84
http://www.variantfishtest.org:6543/tests/view/6021b77b6e23db669974e884

giveaway LTC
LLR: 2.98 (-2.94,2.94) [-10.00,5.00]
Total: 361 W: 168 L: 114 D: 79
http://www.variantfishtest.org:6543/tests/view/6021ba026e23db669974e893

losers STC
LLR: 2.99 (-2.94,2.94) [-10.00,5.00]
Total: 387 W: 204 L: 144 D: 39
http://www.variantfishtest.org:6543/tests/view/6021b78d6e23db669974e887

losers LTC
LLR: 2.97 (-2.94,2.94) [-10.00,5.00]
Total: 690 W: 329 L: 273 D: 88
http://www.variantfishtest.org:6543/tests/view/6021b9fb6e23db669974e891

4 years agoRemove redundant legality check
Fabian Fichter [Mon, 8 Feb 2021 21:50:15 +0000]
Remove redundant legality check

No functional change.

4 years agoSimplify shallow depth pruning for anti variants
Fabian Fichter [Mon, 8 Feb 2021 21:35:16 +0000]
Simplify shallow depth pruning for anti variants

giveaway STC
LLR: 2.96 (-2.94,2.94) [-10.00,5.00]
Total: 1787 W: 698 L: 655 D: 434
http://www.variantfishtest.org:6543/tests/view/601e7a7a6e23db669974e823

giveaway LTC
LLR: 2.96 (-2.94,2.94) [-10.00,5.00]
Total: 1501 W: 550 L: 507 D: 444
http://www.variantfishtest.org:6543/tests/view/601ecee96e23db669974e834

losers STC
LLR: 2.99 (-2.94,2.94) [-10.00,5.00]
Total: 14506 W: 6366 L: 6407 D: 1733
http://www.variantfishtest.org:6543/tests/view/601e7a8f6e23db669974e827

losers LTC
LLR: 2.96 (-2.94,2.94) [-10.00,5.00]
Total: 3939 W: 1740 L: 1707 D: 492
http://www.variantfishtest.org:6543/tests/view/601fbb036e23db669974e846

4 years agoSearch Parameters Tuning
bmc4 [Fri, 5 Feb 2021 00:50:22 +0000]
Search Parameters Tuning

A simple tuning on search.cpp.

based SPSA test:
https://tests.stockfishchess.org/tests/view/601f2a787f517a561bc493cd

passed STC:
LLR: 2.94 (-2.94,2.94) {-0.25,1.25}
Total: 117840 W: 10796 L: 10508 D: 96536
Ptnml(0-2): 422, 8381, 41041, 8639, 437
https://tests.stockfishchess.org/tests/view/602144c37f517a561bc494ae

passed LTC:
LLR: 2.96 (-2.94,2.94) {0.25,1.25}
Total: 25024 W: 972 L: 847 D: 23205
Ptnml(0-2): 7, 767, 10847, 876, 15
https://tests.stockfishchess.org/tests/view/602156877f517a561bc494be

closes https://github.com/official-stockfish/Stockfish/pull/3340

Bench: 3974098

4 years agoPawns Tuning
FauziAkram [Sun, 7 Feb 2021 11:44:11 +0000]
Pawns Tuning

A simple tuning of Pawns parameters, and some PSQT changes.

Passed STC:
LLR: 2.94 (-2.94,2.94) {-0.25,1.25}
Total: 219424 W: 43681 L: 43103 D: 132640
Ptnml(0-2): 4014, 25760, 49669, 26172, 4097
https://tests.stockfishchess.org/tests/view/601bce167f517a561bc491eb

Passed LTC:
LLR: 2.94 (-2.94,2.94) {0.25,1.25}
Total: 317312 W: 42525 L: 41579 D: 233208
Ptnml(0-2): 2447, 30157, 92636, 30835, 2581
https://tests.stockfishchess.org/tests/view/601c21557f517a561bc49227

closes https://github.com/official-stockfish/Stockfish/pull/3337

Bench: 4154473