Split The code is public; the app answers only to the crew.
Death and the end of the match read right: spectate the player you are watching, and show the result #16
Check · Review · Land · Live done — Landed and live in production.
drawHud now takes the player it draws instead of reaching for world.me, so a dead player watches a teammate with that teammate's health, armour, ammo and gun under the view — no crosshair, no hit markers inherited from the corpse, a red line naming who killed you and with what (read from the kill feed by id, not by nam…
shipped merged
Sign in to join this conversation.
new above
offline
drawHudnow takes the player it draws instead of reaching forworld.me, so a dead player watches a teammate with that teammate's health, armour, ammo and gun under the view — no crosshair, no hit markers inherited from the corpse, a red line naming who killed you and with what (read from the kill feed by id, not by name), and "Watching <name> — fire or click for the next". Fire or a click cycles through the living teammates; the camera also moves itself along when the one you are watching dies, and sound now comes from where the camera is rather than from the body. The round result stays on screen through the end delay and the freeze that follows, instead of fading after four seconds.At
match_overa DOM overlay in#stagesays who won, the final score from your side and your kills, deaths, headshots and damage, withPlay againandBack to menu— focus lands on the first button, both are the page's 44px controls, and nothing takes pointer lock back. It goes up afterpostResult(true)resolves either way, so a leaderboard that cannot be reached does not hide the scoreline. That post is new in another sense: the score total increments when the round ends, so the oldplayed !== postedcheck never fired again once the phase turnedmatch_overand no match was ever posted as finished — which is whatstandingscounts wins from.Two new headless modules with tests:
src/client/spectate.ts(who you watch, who killed you) andsrc/client/summary.ts(summarize(world), a pure function giving the winner, the score the person's way round and their line);FeedEntrygainedkillerId/victimIdso a player sharing a bot's name cannot be handed the wrong killer.bun testis 163 pass / 0 fail and the bundle is rebuilt and committed (the build drops the staleapp.*.jsfiles it found, as it is written to). Worth a look in the preview: die early in a round and cycle teammates with the mouse, then run a short match to the end for the card.🤖 Generated with Claude Code
Closes #11