Skip to content

Mark Lielow's moves-until-suicide score as a spoiler - #482

Merged
Perlkonig merged 1 commit into
AbstractPlay:developfrom
samtcifihi:claude/festive-maxwell-d7jzy8
Sep 21, 2026
Merged

Perlkonig merged 1 commit into
AbstractPlay:developfrom
samtcifihi:claude/festive-maxwell-d7jzy8

Conversation

@samtcifihi

Copy link
Copy Markdown
Contributor

I forgot to set this flag when I submitted the moves until suicide status panel for Lielow. Probably most people don't use the hide spoilers feature, so this PR will change nothing for them, I know I don't use it, but this will make it work as expected if someone does.

Flag the "Moves until suicide" row returned by sidebarScores() with
spoiler: true so the front end withholds it until the game is over for
players who have the "hide spoilers" setting turned on. "Pieces
remaining" stays visible, since it is readable straight off the board.

Adds a focused test asserting which sidebar rows carry the flag.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018ohjcoe7GBxKmZYbFbddVy
@Perlkonig
Perlkonig merged commit 16a1329 into AbstractPlay:develop Sep 21, 2026
1 check passed
@samtcifihi
samtcifihi deleted the claude/festive-maxwell-d7jzy8 branch September 21, 2026 17:13
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