Skip to content

refactor(examples): retrofit draw-room with countdown's synced clock - #51

Merged
jodeleeuw merged 2 commits into
mainfrom
draw-room-countdown
Jul 21, 2026
Merged

refactor(examples): retrofit draw-room with countdown's synced clock#51
jodeleeuw merged 2 commits into
mainfrom
draw-room-countdown

Conversation

@jodeleeuw

Copy link
Copy Markdown
Member

Summary

Retrofits examples/draw-room.html with a synchronized group countdown rendered from plugin-multiplayer-countdown's exported statics (startedAtKey / resolveStartedAt / computeRemaining / formatTime) — the plugin's "synced timer during another trial" use-case, live in a real demo. Also simplifies the demo's lobby: the name-entry survey-text trial is replaced with automatic join-order labels ("Player 1", "Player 2"), and the roster reads from those. Adds a draw-room.html section to examples/README.md (previously missing).

Split out of #41 per review feedback, so that PR stays a pure "add the countdown package" change.

Merge ordering

🤖 Generated with Claude Code

Split out of the countdown-plugin PR per review: draw-room gains a shared
countdown rendered from the plugin's exported statics, drops the name-entry
trial for auto join-order labels, re-pins to preview SHA 7b1d96a, and uses
pluginAPI.update(). Adds the draw-room section to examples/README.md.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
# Conflicts:
#	examples/draw-room.html
@jodeleeuw
jodeleeuw merged commit ed54c0d into main Jul 21, 2026
4 checks 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.

1 participant