Skip to content

Extend fast attack support for amazon and centaur#10

Closed
Belzedar94 wants to merge 1 commit intomasterfrom
codex/address-issue-#253-in-parent-repo
Closed

Extend fast attack support for amazon and centaur#10
Belzedar94 wants to merge 1 commit intomasterfrom
codex/address-issue-#253-in-parent-repo

Conversation

@Belzedar94
Copy link
Copy Markdown
Owner

Summary

  • include amazon and centaur in the COMMON_FAIRY_PIECES mask so fast-attack variants can enable cached attack paths when these riders are present
  • reuse the cached queen/rook/king attack masks for amazon and centaur in set_check_info and slider_blockers instead of falling back to the generic rider generator
  • extend the fast attackers_to shortcut to cover amazon and centaur combinations, keeping the accelerated lookup valid once those pieces are allowed

Testing

  • make build -j2
  • ./stockfish check variants.ini
  • ./stockfish bench
  • ./stockfish bench amazon

https://chatgpt.com/codex/tasks/task_e_68cb1ad200bc83229b922ab0f67e94ad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant