Skip to content

Top player badges: one player holds at most 3 - #321

Merged
ngcoding10 merged 4 commits into
ASCoding11:mainfrom
ngcoding10:titles-cap
Nov 26, 2026
Merged

ngcoding10 merged 4 commits into
ASCoding11:mainfrom
ngcoding10:titles-cap

Conversation

@ngcoding10

Copy link
Copy Markdown
Collaborator
  • What changed: a player can now hold at most 3 of the small "Top player in " shields. Someone first in more than 3 games is still first on every one of those boards (the boards are unchanged), but only the first 3 in the Leaderboards' game order count; the other games' shields go to nobody (not to second place).
  • Where players see it: the shields next to names (Back Room page, phone page, home page Back Room, Online and Party panels, admin page), the line above each game's main board in the Leaderboards (it now says when a badge doesn't count and which 3 do), and the Badges guide. English and Spanish.
  • Pages/files: e63334287a3deaa3/leaderboard.js (the rule: TITLE_CAP, capTops, capGames), miles.js (guide wording only), wallet.js, README.md, one What's new file.
  • Includes Archive fourteen unplayed daily puzzles #319: this branch is built on top of archive-unplayed (Archive fourteen unplayed daily puzzles #319) so the two cannot conflict; merge Archive fourteen unplayed daily puzzles #319 first, or merging this brings Archive fourteen unplayed daily puzzles #319's commits with it.
  • Mangos: the same cap is added to the weekly title payout in wallet.js (at most 3 games, 30 mangos a week), and that payout now skips archived (gone) games. The payout is switched off and stays off; nothing about the economy is turned on or off here.
  • How "3 per week" is read (ngcoding10's rule): the cap is on how many games count for one player at once (the shields are live, not weekly; the weekly payout, which is off, applies the same 3 when a week is claimed). Which 3 count is by the fixed Leaderboards game order, not the player's choice and not how long they have held it (nothing records that). A different pick rule is one function, capTops() in leaderboard.js.
  • Not changed: Slipstream ace, Top Cracker and the Back Room: parties (group up, then join a game room together) #1 miles tags are separate awards and are not counted in the 3.
  • Risk: low. No storage paths, saved-data formats, Firebase rules or config, functions/, account/, ads, analytics or workflows touched. Visible effect: players who lead more than 3 games lose the extra shields.
  • Known gap: the payout's list of main boards is not the same as the badges' list, so the two should be brought together before payouts are ever switched on.
  • Tested: locally with made-up board data (one player first in 6 games, one in 3, one in 1, a tie, archived games) at desktop and phone width; live database not touched. Not tested: merged accounts under the cap, the admin page, the Badges guide popup.

Generated by Claude Code

Top Bins, Crosslet, Outline, Sleight, Scout Report, Teamsheet, Deadline Day,
Crossbar, Journeyman and Stat Duel were already off the Back Room tiles, the
phone page and the Daily Puzzles list (18 Nov). This takes them out of the
Leaderboards' Board menu and the top-player mini badges (gone: 1 on their
rows in leaderboard.js), marks their subagent files archived, lists them
under Archived Back Room games in the README and adds a What's new entry.
Folders, saved data, stats and thumbnails are kept.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7H9BUcM2p54meFje9
Quartets, Unfurl, Overland and Back Four, off the puzzle lists since 18 Nov
like the first ten, get the same treatment: gone: 1 in leaderboard.js (out of
the Board menu and the mini badges), archived subagent files, README and the
What's new entry now cover all fourteen.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rM7H9BUcM2p54meFje9
A player's top spot now counts in at most 3 games (TITLE_CAP in
leaderboard.js). The boards are unchanged; someone first in more games
holds the first 3 in the Leaderboards' game order and the rest are held
by nobody. The game's main board says which ones count. The same cap is
on wallet.js's weekly title payout, which stays switched off. Archived
(gone) games never count.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rMAWn3dnwpjJHcpXJgN
README: archived (gone) games are skipped by both the mini badges and the
dormant weekly title payout, and never count toward the cap of 3.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cw2rMAWn3dnwpjJHcpXJgN
@netlify

netlify Bot commented Nov 26, 2026

Copy link
Copy Markdown

👷 Deploy request for ascoding11 pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 0d6f1d8

@netlify

netlify Bot commented Nov 26, 2026

Copy link
Copy Markdown

👷 Deploy request for cosmic-dasik-e73c56 pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 0d6f1d8

@ngcoding10
ngcoding10 merged commit 9fccd13 into ASCoding11:main Nov 26, 2026
2 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.

2 participants