Release 1.36.8: winner-only scoring, W/L results, unregistered players shown in ELO #86

Merged
pyaniz merged 2 commits from staging into main 2026-10-23 22:29:00 -05:00
Owner

Type: Fix (patch) - VERSION 1.36.6 -> 1.36.7.

What

  • New scoring mode winner (third toggle next to Points / Ranking in the record-play form): exactly one winner, everybody else loses. Validated ("Pick the winner: exactly one player"); the trophy button is an exclusive pick.
  • Scores become W / L for plays without a score: winner-only plays and co-op games (all W when the team won, all L otherwise). The Points / Ranking toggle is hidden for co-op games, which are stored with scoring_type = 'winner'.
  • ELO: finishing_order handles winner explicitly (winner 1st, the rest share 2nd; no winner flagged = nothing to rate). Two new unit tests (24 total).
  • Display: Play History uses "Result" and "one winner, the rest lose" for these plays; the dashboard score formatter no longer prints NaN for non-numeric scores.
  • Existing plays are untouched; editing an old co-op play saves W / L.

Testing

  • 24 engine unit tests and npm run build pass. Not run against a database or in a browser. On staging please check: record a Winner play in a group of 4 (1 W, 3 L), a co-op win and a co-op loss, edit an old co-op play, and how they read in Play History and the dashboard.

🤖 Generated with Claude Code

**Type:** Fix (patch) - VERSION 1.36.6 -> 1.36.7. ## What - **New scoring mode `winner`** (third toggle next to Points / Ranking in the record-play form): exactly one winner, everybody else loses. Validated ("Pick the winner: exactly one player"); the trophy button is an exclusive pick. - **Scores become `W` / `L`** for plays without a score: winner-only plays and **co-op games** (all W when the team won, all L otherwise). The Points / Ranking toggle is hidden for co-op games, which are stored with `scoring_type = 'winner'`. - **ELO**: `finishing_order` handles `winner` explicitly (winner 1st, the rest share 2nd; no winner flagged = nothing to rate). Two new unit tests (24 total). - **Display**: Play History uses "Result" and "one winner, the rest lose" for these plays; the dashboard score formatter no longer prints `NaN` for non-numeric scores. - Existing plays are untouched; editing an old co-op play saves W / L. ## Testing - 24 engine unit tests and `npm run build` pass. Not run against a database or in a browser. On staging please check: record a Winner play in a group of 4 (1 W, 3 L), a co-op win and a co-op loss, edit an old co-op play, and how they read in Play History and the dashboard. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Fix: winner-only scoring mode and W / L results for co-op and score-less plays (1.36.7)
All checks were successful
Build and Publish Containers / build-and-push (push) Successful in 40s
Mirror to GitHub / mirror (push) Successful in 19s
4eba24127e
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
pyaniz changed title from Fix 1.36.7: winner-only scoring and W / L results to Release 1.36.8: winner-only scoring, W/L results, unregistered players shown in ELO 2026-10-23 22:22:10 -05:00
Fix: list players without an account on ELO leaderboards in red italics (1.36.8)
All checks were successful
Build and Publish Containers / build-and-push (push) Successful in 41s
Mirror to GitHub / mirror (push) Successful in 18s
453bff2971
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
pyaniz merged commit d53321b515 into main 2026-10-23 22:29:00 -05:00
Sign in to join this conversation.
No description provided.