Repository navigation
Brooker/match goal celebration - #41
Open
sebastianbrooker2 wants to merge 8 commits into
Open
sebastianbrooker2 wants to merge 8 commits into
sebastianbrooker2 wants to merge 8 commits into
Conversation
…d and controls - ./b match --web / --web-host / --web-port serve the browser viewer; sim/match now includes WebViewer - WebViewer shows module::MatchReferee's MatchStatus as the page's scoreboard and referee panel, and sends its buttons back as MatchCommands (kick-off, set, play, pause/resume, set plays, new game) - Referee panel gets a New game button Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…test-match-webview
The page now offers what module::Viewer's window does, so ./b match --headless --web can run a session end to end: the launcher's setup panel with Apply and Restart, the Match and Referee panels, pause / reset / speed, the Robots panel, set plays with ball placement, and moving or shoving robots and the ball by hand (refused in a refereed game, as in the window). WebViewer publishes the session, simulation and match state to the page and takes its requests on POST /sim next to POST /referee. A headless match no longer starts by itself when --web is there to press Start Match. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
It holds one developer's absolute path to the source directory. Asked for in the review of #34. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
When the score goes up in a refereed game (./b match, or the Testing Room's GameController), "GOAL!" comes up in the middle of the window and confetti and fireworks go off from the goal the ball went in. The goal is the one at the end where the ball was last seen away from the centre spot, since the referee may have put the ball back before the score arrives. Drawn as extra scene geoms; it never touches the physics. Co-Authored-By: Claude Opus 5.5 <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.
Adds a little pzazz to a goal