← NewTon DC Tournament Manager

The Round-Trip Begins

NewTon DC Tournament Manager v5.0.1-beta.1 — March 26, 2026

Download v5.0.1-beta.1

Overview

NewTon DC Tournament Manager v5.0.1-beta.1 closes the first half of the QR round-trip. The Chalker can now generate a signed result QR at the end of any QR-assigned match. The Tournament Manager operator scans it to record the result — no typing, no shouting across the venue.

This is a beta release for testing the result QR payload and scanning flow. The Tournament Manager scanning side is not yet implemented — that completes the round-trip in the next step.


Chalker → TM: Result QR

Result QR Button on Match Complete

When a match was started from a Tournament Manager assignment QR, a Result QR button appears on the Match Complete screen alongside Rematch, New Match, and History. Tap it — a modal shows the signed QR code, with a title (Winner beat Loser 2-0) and a subtitle summarising the format. Point the Tournament Manager camera at the code to record the result.

The button is not shown for manually started matches — the match ID, tournament ID, and server ID needed for TM routing are only present when the match was QR-assigned.

Signed Result Payload

The result QR encodes a JSON payload signed with CRC-32 (newton-integrity.js). It carries:

The Tournament Manager derives all statistics — averages, high finishes, score ranges — from the raw visit scores. The payload is minimal by design.

Score Encoding

Each visit score (0–180) fits in a single unsigned byte. Per leg, both players' visit scores are packed into byte arrays, base64-encoded, and joined with |: P1_SCORES|P2_SCORES. This saves ~45% compared to JSON number arrays and keeps the QR code at a comfortable scan density.

Tiebreak Legs

When max rounds is reached without a checkout, the tiebreak round is not recorded in the visit scores — it's a separate 3-dart mechanism. cd = 0 signals the leg was a tiebreak; legs[].w records who won. The TM uses both fields to reconstruct the correct result.


Result QR in Match History

QR-assigned matches retain all the data needed to regenerate the result QR. A Result QR button appears at the bottom of the match detail screen in Chalker history for any QR-assigned match. A missed scan can always be recovered — no need to replay the match.


Canonical Links

<link rel="canonical"> tags added to all 25 HTML pages. Each page points to its own URL on newtondarts.com (no www), resolving a Google indexing issue where www.newtondarts.com was being treated as the canonical origin. Directory index pages use a trailing slash: https://newtondarts.com/releases/.


Bug Fixes

Chalker Info Bar: Lane Suppressed When Unassigned

When a QR-assigned match had no lane set in the Tournament Manager, the Chalker info bar showed "Lane undefined". Fixed — the bar now shows only Leg N of M (and Ref: name when present) when no lane is assigned.

Content Security Policy: Inline Style Removed

Leg average highlighting for the first-throwing player used an inline style attribute, which was blocked by the server's style-src 'self' Content Security Policy. Replaced with a CSS class (.leg-avg-first). The highlighting now works correctly in the deployed app.


Files Changed

Site / SEO

Chalker


Migration

No migration required. Fully compatible with all existing matches and saved configurations. The result QR fields are only present in matches started from a Tournament Manager assignment QR.


NewTon DC Tournament Manager v5.0.1-beta.1 — The Round-Trip Begins.

Download v5.0.1-beta.1

Previous Releases

For older releases, see the GitHub releases page.