Replay UI: hand and battle result banners + CLAUDE.md#1
Open
AThraen wants to merge 2 commits into
Open
Conversation
Quick orientation file generated via /init: build/test/run commands, project responsibilities, and key design points (MCP isolation, JSONL audit log, central package management, no-build-step static site). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Round-over previously had no clear indication beyond a 1.6s seat flash. Now hand_ended surfaces a persistent pill at the top of the table with the winner, hand description (from the showdown event), and pot delta; battle_ended shows a centered overlay with the full final ranking. Both clear when the next hand starts or the user scrubs backward. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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
hand_endednow surfaces a persistent pill at the top of the replay table: winner, hand description from theshowdownevent (e.g. Two pair, Kings and 4s), and pot delta. Previously a 1.6s yellow seat flash was the only signal.battle_endedshows a centered "🏆 Battle complete" card with the full ranking, replacing the previous 1.6s winner flash.CLAUDE.mdorientation file generated via/initcovering commands, project layout, and key design points (MCP isolation, JSONL audit log, no-build-step static site).Razor
Replay.cshtmland the static-sitebattle.htmlget parallel changes;replay.js/site.cssare kept in sync betweenstatic-site/andsrc/AgentBattle.Web/wwwroot/.Test plan
hand_endedevent — banner shows winner + hand description + chip deltahand_startedhand_started— banner and overlay disappear🤖 Generated with Claude Code