Repository navigation
Rework Boss Fight: stagger, parry, animated piece-built boss - #5
Merged
devin-ai-integration[bot] merged 9 commits intoNov 19, 2026
Merged
Conversation
Contributor
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
Contributor
There was a problem hiding this comment.
Devin Review found 3 findings. Devin automatically fixed all 3 findings.
Fixed by Devin (3)
- Parries animate incorrectly in exported videos — Video renderer now draws parry as lunge-and-return.
- Missing boss in position exports — Boss image restored as export fallback; drawBoard test added.
- Ineffective online take-backs after passes — Online take-back of a forced pass now also takes back the preceding move.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
After #4, the Boss could force mate almost immediately. A hit didn't remove it, so a check from it couldn't be answered by capturing it (e.g.
1.e4 … boss f3#). This PR reworks the rules so hits answer the boss, and rebuilds the boss to look like the one in the video.Rules
passmove) instead of being stalemated. The bot handles passes, and Undo groups a forced pass with the move that caused it.Visuals
BossAssemblybuilds the boss from real black piece glyphs: a king head with red eyes, wings of pieces and a curled pawn tail. It is about 4×3.5 squares, overlays the board withpointer-events: none, and sits under the move dots.prefers-reduced-motion.Balance check (bot self-play, 5 lives): there are no more Black mates under 10 moves. Normal-vs-Normal games run long. Shallow White can still lose, and one rare line stalemates White while the boss is staggered.
Checks:
tsgo -b, 182 vitest tests, oxlint (changed files) andnpm run buildall pass.Implemented in session Add the chess mode from the video
Review with Devin · Open in Devin Desktop