Skip to content

Arimaa: show the Harlog leader as a colored piece instead of a sign - #486

Merged
Perlkonig merged 1 commit into
AbstractPlay:developfrom
samtcifihi:arimaa-harlog-qol-pr-2026-09-24
Sep 24, 2026
Merged

Perlkonig merged 1 commit into
AbstractPlay:developfrom
samtcifihi:arimaa-harlog-qol-pr-2026-09-24

Conversation

@samtcifihi

Copy link
Copy Markdown
Contributor

Instead of using a negative sign to indicate the Harlog is in Silver's favor, it uses a silver piece glyph. Ditto for Gold favor. Just a minor QoL change

nb: This change is completely unrelated to and independent of the Arimaa Notation/Input change currently on dev

The Harlog status row now shows an unsigned value preceded by a `piece`
glyph in the leading player's colour (Gold when positive, Silver when
negative). The glyph is omitted when the value displays as all zeros,
which also avoids showing "-0.00" for balanced material, and when the
value is NaN. Infinite values keep the leader's glyph.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AVSKZLA5aG9G2pNxSnTrHG
@Perlkonig
Perlkonig merged commit bff7c0d into AbstractPlay:develop Sep 24, 2026
1 check passed
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