fairystockfish.git
5 months agoConsistently use wrappers around variant properties (#898)
Fabian Fichter [Fri, 15 Aug 2025 20:35:17 +0000]
Consistently use wrappers around variant properties (#898)

* Consistently use wrappers around variant properties instead of a mix of direct and indirect access
* Rename drop region fields to follow the color postfix naming convention
* Disambiguate the promotionPawnType(s) fields

5 months agoMore concise and relevant copilot instructions
Fabian Fichter [Fri, 15 Aug 2025 17:44:58 +0000]
More concise and relevant copilot instructions

5 months agoUpdate bench
Fabian Fichter [Wed, 13 Aug 2025 20:48:23 +0000]
Update bench

bench: 6180480

5 months agoAdd Copilot coding agent instructions for Fairy-Stockfish development (#897)
Copilot [Wed, 13 Aug 2025 20:36:08 +0000]
Add Copilot coding agent instructions for Fairy-Stockfish development (#897)

5 months agoAdd promoted piece validation to FEN validation (#895)
Copilot [Mon, 11 Aug 2025 20:16:47 +0000]
Add promoted piece validation to FEN validation (#895)

Fixes #416

6 months agoFix Lack of Pieces in Hand in Flipello Variants (#893)
PraseodymiumSpike [Sat, 9 Aug 2025 21:27:33 +0000]
Fix Lack of Pieces in Hand in Flipello Variants (#893)

Closes #504

6 months agoAdd python stub file
Fabian Fichter [Sat, 19 Jul 2025 10:50:22 +0000]
Add python stub file

Improve IDE integration by providing a stub file.

6 months agoAdd checkshogi variant with check counting enabled (#894)
Copilot [Thu, 7 Aug 2025 14:15:29 +0000]
Add checkshogi variant with check counting enabled (#894)

6 months agoUpdate variants.ini docs
Fabian Fichter [Wed, 6 Aug 2025 09:06:24 +0000]
Update variants.ini docs

7 months agoUpdate windows action runner for wheels
Fabian Fichter [Sat, 5 Jul 2025 21:28:52 +0000]
Update windows action runner for wheels

7 months agoExtend insufficient material tests
Fabian Fichter [Sat, 5 Jul 2025 21:24:20 +0000]
Extend insufficient material tests

8 months agoBump versions
gbtami [Wed, 21 May 2025 10:11:31 +0000]
Bump versions

9 months agoFix custom ep captures
Fabian Fichter [Sat, 3 May 2025 15:59:55 +0000]
Fix custom ep captures

Pick the frontmost piece to be captured.

Closes #876.

10 months agoUpdate AUTHORS
Fabian Fichter [Sat, 29 Mar 2025 13:42:55 +0000]
Update AUTHORS

10 months agoUpdate CI badge URLs
Fabian Fichter [Sun, 23 Mar 2025 18:08:21 +0000]
Update CI badge URLs

11 months agomacOS builds + Runner updates (#871)
dpldgr [Sun, 9 Mar 2025 14:45:52 +0000]
macOS builds + Runner updates (#871)

12 months agoBump versions
gbtami [Sat, 8 Feb 2025 11:59:20 +0000]
Bump versions

12 months agoFix Supply Chess #699
gbtami [Tue, 14 Jan 2025 16:41:25 +0000]
Fix Supply Chess #699

13 months agoUpdate cibuildwheel, bump pyffish version
gbtami [Thu, 9 Jan 2025 20:30:35 +0000]
Update cibuildwheel, bump pyffish version

13 months agoFix FEN parsing for S-Chess
Fabian Fichter [Thu, 9 Jan 2025 18:49:43 +0000]
Fix FEN parsing for S-Chess

Closes #855.

13 months agoFix pyffish License classifier
gbtami [Tue, 31 Dec 2024 18:23:07 +0000]
Fix pyffish License classifier

13 months agoHandle invalid castling FEN
Fabian Fichter [Mon, 30 Dec 2024 12:54:58 +0000]
Handle invalid castling FEN

Closes #826.

13 months agoUpdate workflow action version (#851)
yjf2002ghty [Mon, 30 Dec 2024 10:37:20 +0000]
Update workflow action version (#851)

13 months agoUpdate variants.ini (+ Leaperhouse) (#836)
Snowmoondaphne [Sun, 29 Dec 2024 18:42:44 +0000]
Update variants.ini (+ Leaperhouse) (#836)

13 months agoImplement fog_fen() (#840)
Bajusz Tamás [Sun, 29 Dec 2024 18:41:41 +0000]
Implement fog_fen() (#840)

13 months agoUpload artifacts for ffish.js builds in CI (#834)
yjf2002ghty [Sun, 29 Dec 2024 18:22:52 +0000]
Upload artifacts for ffish.js builds in CI (#834)

13 months agoBump github-actions dependencies (#850)
dependabot[bot] [Fri, 27 Dec 2024 18:24:44 +0000]
Bump github-actions dependencies (#850)

13 months agoKeep GitHub Actions up to date with GitHub's Dependabot
Christian Clauss [Wed, 11 Dec 2024 12:57:11 +0000]
Keep GitHub Actions up to date with GitHub's Dependabot

Fixes software supply chain safety warnings like at the bottom right of

https://github.com/fairy-stockfish/Fairy-Stockfish/actions/runs/12274061623
* [Keeping your actions up to date with Dependabot](https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot)
* [Configuration options for the dependabot.yml file - package-ecosystem](https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#package-ecosystem)

13 months agoFix duck chess en passant FEN setup
Fabian Fichter [Wed, 11 Dec 2024 20:39:30 +0000]
Fix duck chess en passant FEN setup

Closes #832.

13 months agochore(license): update license classifier to `GPL-3.0-or-later`
Rui Chen [Wed, 11 Dec 2024 01:54:24 +0000]
chore(license): update license classifier to `GPL-3.0-or-later`

Signed-off-by: Rui Chen <rui@chenrui.dev>

13 months agoUpdate macos version for wheels
Fabian Fichter [Wed, 11 Dec 2024 09:58:20 +0000]
Update macos version for wheels

16 months agoAdd option to compile ffishjs in docker
Fabian Fichter [Fri, 13 Sep 2024 21:51:19 +0000]
Add option to compile ffishjs in docker

17 months agoScale down slider value based on distance
Fabian Fichter [Fri, 6 Sep 2024 18:58:42 +0000]
Scale down slider value based on distance

17 months agoVariant-specific endgame evaluation (#823)
Fabian Fichter [Thu, 22 Aug 2024 20:38:26 +0000]
Variant-specific endgame evaluation (#823)

Add variant-specific endgame evaluation for antichess, atomic, duck chess, misere, and racing kings.

Closes #820

18 months agoUpdate variants.ini (+ Muje)
Snowmoondaphne [Wed, 24 Jul 2024 09:10:14 +0000]
Update variants.ini (+ Muje)

a variant Muje has been added

18 months agoBump pyffish version
gbtami [Fri, 19 Jul 2024 15:34:57 +0000]
Bump pyffish version

18 months agobug fixes only, subset of improve connection games
rainrat [Tue, 16 Jul 2024 21:47:40 +0000]
bug fixes only, subset of improve connection games

19 months agoFix assertion error when debug=yes and optimize=yes (#810)
yjf2002ghty [Wed, 10 Jul 2024 13:12:50 +0000]
Fix assertion error when debug=yes and optimize=yes (#810)

19 months agoUpdate mac-os for wheel build
Fabian Fichter [Tue, 9 Jul 2024 09:26:44 +0000]
Update mac-os for wheel build

19 months agopiece_to_partner (#802)
Bajusz Tamás [Mon, 8 Jul 2024 15:07:01 +0000]
piece_to_partner (#802)

19 months agoUpdate variants.ini
yjf2002ghty [Fri, 21 Jun 2024 11:48:53 +0000]
Update variants.ini

20 months agoSmall contribution on a compatible anti/giveaway variant
chocolatebakery [Sat, 1 Jun 2024 08:57:01 +0000]
Small contribution on a compatible anti/giveaway variant

20 months agoFix Mini House
yjf2002ghty [Sat, 1 Jun 2024 03:53:19 +0000]
Fix Mini House

21 months agoFix stack overflow when depth is too deep (#780)
yjf2002ghty [Mon, 29 Apr 2024 12:02:17 +0000]
Fix stack overflow when depth is too deep (#780)

21 months agoKhan's chess & Shinobi Chess+ (#778)
yjf2002ghty [Mon, 22 Apr 2024 16:47:10 +0000]
Khan's chess & Shinobi Chess+ (#778)

21 months agowallOrMove bug fix (#763)
RainRat [Wed, 17 Apr 2024 15:11:50 +0000]
wallOrMove bug fix (#763)

22 months agoBump ffish.js version
gbtami [Thu, 28 Mar 2024 11:14:13 +0000]
Bump ffish.js version

22 months agoBump pyffish version
gbtami [Mon, 25 Mar 2024 23:26:25 +0000]
Bump pyffish version

22 months agoAdd missing dragon promotion
gbtami [Mon, 25 Mar 2024 20:31:37 +0000]
Add missing dragon promotion

23 months agoHandle invalid promoted piece (#416)
Fabian Fichter [Fri, 1 Mar 2024 14:28:21 +0000]
Handle invalid promoted piece (#416)

23 months agoadd 'wall or move' rule (for Atlantis) (#728)
RainRat [Fri, 1 Mar 2024 13:01:13 +0000]
add 'wall or move' rule (for Atlantis) (#728)

23 months agoValidate max one king per side
Fabian Fichter [Fri, 1 Mar 2024 10:55:17 +0000]
Validate max one king per side

23 months agoAdd missing soldier promotion to cannonshogi
Bajusz Tamás [Mon, 26 Feb 2024 14:53:51 +0000]
Add missing soldier promotion to cannonshogi

23 months agoUpdate reference bench
Fabian Fichter [Fri, 23 Feb 2024 14:25:11 +0000]
Update reference bench

bench: 6180480

23 months agoBump version
QueensGambit [Sat, 17 Feb 2024 09:51:15 +0000]
Bump version

23 months agoBump pyffish version
Fabian Fichter [Fri, 16 Feb 2024 19:10:00 +0000]
Bump pyffish version

23 months agoFix cannonshogi (#757)
Fabian Fichter [Fri, 16 Feb 2024 18:42:26 +0000]
Fix cannonshogi (#757)

23 months agoadd Three Musketeers. needs collinearN and connectPieceTypes. (#755)
RainRat [Tue, 13 Feb 2024 12:49:27 +0000]
add Three Musketeers. needs collinearN and connectPieceTypes. (#755)

2 years agoFix Makefile for clang 16
Sebastian Buchwald [Sat, 11 Mar 2023 21:08:35 +0000]
Fix Makefile for clang 16

The clang 16 release will remove the -fexperimental-new-pass-manager
flag (see https://github.com/llvm/llvm-project/commit/69b2b7282e92a1b576b7bd26f3b16716a5027e8e).
Thus, the commit adapts the Makefile to use this flag only for older
clang versions.

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

No functional change

2 years agofix typos
RainRat [Wed, 24 Jan 2024 23:14:46 +0000]
fix typos

2 years agoUse NNUE fallback URL for appveyor (#752)
Fabian Fichter [Sat, 23 Dec 2023 16:03:57 +0000]
Use NNUE fallback URL for appveyor (#752)

2 years agoUse subtests for better testing output
Fabian Fichter [Sat, 23 Dec 2023 14:26:05 +0000]
Use subtests for better testing output

2 years agoAdjudicate when board is full (#750)
Fabian Fichter [Sat, 23 Dec 2023 14:02:28 +0000]
Adjudicate when board is full (#750)

Closes #749.

2 years agoProvide network download fallback
Joost VandeVondele [Sat, 3 Sep 2022 09:03:09 +0000]
Provide network download fallback

in case the base infrastructure for providing the networks

https://tests.stockfishchess.org/nns

is down, use an alternate github repo for downloading networks during the build.

No functional change

2 years agoCfour-misere, per-color passing (#746)
RainRat [Sun, 26 Nov 2023 21:30:48 +0000]
Cfour-misere, per-color passing (#746)

2 years agoadd Gale (#724)
RainRat [Tue, 31 Oct 2023 10:26:38 +0000]
add Gale (#724)

and improve bitboard parsing

2 years agoadd La Mancha, Argess, 4 Kings Quasi Shatranj (#739)
RainRat [Wed, 25 Oct 2023 20:20:50 +0000]
add La Mancha, Argess, 4 Kings Quasi Shatranj (#739)

2 years agoUpdate wheels.yml (#742)
Bajusz Tamás [Wed, 25 Oct 2023 12:29:05 +0000]
Update wheels.yml (#742)

2 years agoAdd Cfour-anyside, Symphony, Teeko (#731)
RainRat [Tue, 24 Oct 2023 20:03:24 +0000]
Add Cfour-anyside, Symphony, Teeko (#731)

2 years agoadd Ajax Orthodox, Petty, Haynie (#730)
RainRat [Fri, 29 Sep 2023 08:43:19 +0000]
add Ajax Orthodox, Petty, Haynie (#730)

2 years agoflagPieceSafe, Squatter (#719)
RainRat [Tue, 26 Sep 2023 09:44:24 +0000]
flagPieceSafe, Squatter (#719)

2 years agoadd Edge Walling rule, suggesting refactor of Walling Rule, (#722)
RainRat [Thu, 21 Sep 2023 16:47:31 +0000]
add Edge Walling rule, suggesting refactor of Walling Rule, (#722)

2 years agoSupport petrified (#713)
Fabian Fichter [Fri, 15 Sep 2023 17:26:24 +0000]
Support petrified (#713)

2 years agoadd Snort (#721)
RainRat [Fri, 15 Sep 2023 17:10:53 +0000]
add Snort (#721)

2 years agoAdd Gethenian variant (#720)
Brian Svoboda [Tue, 12 Sep 2023 07:11:14 +0000]
Add Gethenian variant (#720)

2 years agoAdd CastlingRights as dedicated config type
Fabian Fichter [Sun, 10 Sep 2023 12:10:44 +0000]
Add CastlingRights as dedicated config type

No functional change.

2 years agoadd Castle Chess (#717)
RainRat [Sun, 10 Sep 2023 11:23:42 +0000]
add Castle Chess (#717)

2 years agoAdd perft tests for atomic variants
Fabian Fichter [Sat, 9 Sep 2023 22:30:05 +0000]
Add perft tests for atomic variants

2 years agoDo not print info string in CECP
Fabian Fichter [Sat, 9 Sep 2023 12:17:36 +0000]
Do not print info string in CECP

2 years agoadd Crusade, Blackletter Chess (#714)
RainRat [Sat, 9 Sep 2023 07:36:27 +0000]
add Crusade, Blackletter Chess (#714)

2 years agoHandle FENs with wrong board size (#712)
Fabian Fichter [Thu, 7 Sep 2023 20:46:29 +0000]
Handle FENs with wrong board size (#712)

Try to avoid crashing on FENs with wrong board size
and parse them to the extent possible.

2 years agoAdd Nim, Roll-ing to Four
rainrat [Thu, 7 Sep 2023 03:31:03 +0000]
Add Nim, Roll-ing to Four

2 years agoOpposite castling (#710)
RainRat [Thu, 7 Sep 2023 18:50:32 +0000]
Opposite castling (#710)

2 years agoFix Betza parsing of half-plane modifiers
Fabian Fichter [Wed, 6 Sep 2023 21:15:17 +0000]
Fix Betza parsing of half-plane modifiers

And add unit tests.

Closes #709.

2 years agoadd Duck region mask. add forward/checkers (#705)
RainRat [Wed, 6 Sep 2023 07:34:28 +0000]
add Duck region mask. add forward/checkers (#705)

2 years agoFix promotion rules of Caught-in-a-snag variant
Belzedar94 [Tue, 5 Sep 2023 16:59:16 +0000]
Fix promotion rules of Caught-in-a-snag variant

2 years agoadd Caught in a Snag, Minihouse, Pawnsking, Rookmate (#707)
RainRat [Mon, 4 Sep 2023 20:27:18 +0000]
add Caught in a Snag, Minihouse, Pawnsking, Rookmate (#707)

2 years agoadd Quad Wrangle (#704)
RainRat [Fri, 1 Sep 2023 14:19:21 +0000]
add Quad Wrangle (#704)

2 years agoadd Nuclear (#703)
RainRat [Sat, 26 Aug 2023 10:29:54 +0000]
add Nuclear (#703)

2 years agoAllow empty bitboards in config
Fabian Fichter [Fri, 25 Aug 2023 17:44:22 +0000]
Allow empty bitboards in config

2 years agoFix "xiangqihouse" to Align with Actual Xiangqi Bughouse (#689)
PraseodymiumSpike [Thu, 24 Aug 2023 06:46:52 +0000]
Fix "xiangqihouse" to Align with Actual Xiangqi Bughouse (#689)

2 years agoadd Atomar. Optimize connect. (#695)
RainRat [Wed, 23 Aug 2023 12:02:05 +0000]
add Atomar. Optimize connect. (#695)

2 years agoSimplify pawn usage check
Fabian Fichter [Mon, 21 Aug 2023 18:59:29 +0000]
Simplify pawn usage check

2 years agoUpgrade Ubuntu version for CI
Fabian Fichter [Sun, 20 Aug 2023 11:33:23 +0000]
Upgrade Ubuntu version for CI

2 years agoFix custom king insufficient material
Fabian Fichter [Sun, 20 Aug 2023 10:51:17 +0000]
Fix custom king insufficient material

Closes #686.

2 years agoFix compiler warning
Fabian Fichter [Sun, 20 Aug 2023 10:06:05 +0000]
Fix compiler warning

2 years agoCorrectly set en passant square
Fabian Fichter [Sun, 20 Aug 2023 09:29:23 +0000]
Correctly set en passant square

Always set en passant square in case of custom pawns
to ensure that standard pawns can be captured en passant.

Closes #680.

2 years agoUpdate variants.ini
Fabian Fichter [Sun, 6 Aug 2023 13:57:36 +0000]
Update variants.ini

Closes #685

2 years agoCannonshogi (#693)
Bajusz Tamás [Sun, 6 Aug 2023 13:23:09 +0000]
Cannonshogi (#693)

2 years agoSkip parsing castling rights when disabled
Fabian Fichter [Sun, 9 Jul 2023 19:17:12 +0000]
Skip parsing castling rights when disabled

Closes #678.