Skip to content

Add iron/uncapturable pieces support (Fixes #606)#912

Open
Belzedar94 wants to merge 20 commits intofairy-stockfish:masterfrom
Belzedar94:master
Open

Add iron/uncapturable pieces support (Fixes #606)#912
Belzedar94 wants to merge 20 commits intofairy-stockfish:masterfrom
Belzedar94:master

Conversation

@Belzedar94
Copy link
Copy Markdown
Contributor

  • Adds Variant::ironPieceTypes and parser support.
  • Disallows capturing iron pieces (incl. en passant).
  • Documents ironPieceTypes and includes [iron-pawns:chess] demo in variants.ini.
  • Adds unit tests in test.py to validate illegal capture, legal capture by iron piece, and en passant case.

Belzedar94 and others added 4 commits September 5, 2025 13:10
Add Variant::ironPieceTypes and parser support; disallow capturing iron pieces (incl. en passant); document key and demo variant [iron-pawns:chess].
Add iron/uncapturable pieces support (Fixes fairy-stockfish#606)
@daviPombeiro
Copy link
Copy Markdown

This would be realy good for a variation that my friend is developing! He wants to basically make a moving wall, a piece that can't capture or be captured.
Hope this gets merged soon!

@ianfab ianfab added this to the v14.0.3 milestone Sep 10, 2025
Updated pull request trigger to specific branches.
Remove pull request branch specification in release workflow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants