Skip to content

Separate pseudo-royalty from extinction#901

Draft
ianfab wants to merge 2 commits intomasterfrom
pseudo_royal_new
Draft

Separate pseudo-royalty from extinction#901
ianfab wants to merge 2 commits intomasterfrom
pseudo_royal_new

Conversation

@ianfab
Copy link
Copy Markdown
Member

@ianfab ianfab commented Aug 15, 2025

TODO: requires more thought regarding impact on future development

  • consider playing strength implications, especially extinction eval
  • 3 stages of legality pseudo-legal, static legal (current legal), legal (including uchifuzume, checkless, etc.)
  • include pseudo-royal in check detection (requires non-static gives_check and legal)
  • consolidate extinction and pseudo-royal eval. Evaluate king safety for every effectively royal piece. Treat extinction as weak pseudo-royalty, because it is the same, just that leaving piece in check is allowed for one half-move.
  • consider interference between extinction and pseudo-royalty (and atomic captures)
    • e.g., one side has pseudo-royals and one side extinction. A piece pinned against a pseudo-royal can take an extinction piece to win. Allowed or not? (No)
  • final step: turn king into a piece that is always pseudo-royal? how about pseudoRoyalCount thresholds?

@ianfab ianfab marked this pull request as draft August 17, 2025 14:59
@ianfab ianfab added this to the v14.0.3 milestone Aug 17, 2025
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.

1 participant