You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f915fe6
Browse filesBrowse the repository at this point in the historyBrowse files
- **New: "Fastest climbing Aisles today"** panel at the top of the Back Room (right above Playing now), on the Back Room page, the home page's Back Room and the phone page. It ranks Aisles by the Elo their members won today in ranked games, with live green ▲ arrows and each Aisle's top climber.
- **How:** `elo.js` now also adds each rated match's change to the player's own node `rooms/elo-day/players/<uid>` (today's New York date, change per game, total). The new `climb.js` listens to that one node and adds it up per Aisle. It writes nothing itself.
- `aisles.js`: two small read-only helpers (`list()`, `tag(K)`). Loader lines in `index.html` (home page reveal), `e63334287a3deaa3/index.html` and `e63334287a3deaa3/m/index.html`. README and What's new updated.
- Risk: low. One new Realtime Database path under `rooms/` written only by each player's own browser, with the fields the shared rules already require (no rules change). Self-reported like every Back Room stat.
Claude-Session: https://claude.ai/code/session_016ZY4GY6KEVGmw5xYZiPbvp
Co-authored-by: Claude <noreply@anthropic.com>
* Fastest climbing Aisles today (Back Room page, home page Back Room and phone page): a live panel right above
3
+
* Playing now that ranks Aisles by the Elo their members have gained today in ranked games, with green up-arrows.
4
+
*
5
+
* Data: elo.js adds every rated match's change to the player's own node rooms/elo-day/players/<uid>
6
+
* ({ n, d: New York date 'YYYY-MM-DD', gm: { <game folder>: change }, t: total today }). This file listens to
7
+
* rooms/elo-day/players (one small node per player who has ever played ranked; live, so arrows move as matches end),
8
+
* keeps only today's nodes (New York time, the same day for everyone), and adds them up per Aisle using
9
+
* BackRoomAisles.list() (members as aisles.js resolved them). An Aisle's climb is the sum of its members' totals
10
+
* (a loss counts against it); the top five Aisles that are up are shown, each with its best climber. Like every Back
11
+
* Room stat it is self-reported, for fun. Nothing is written here. Signs in only through party.js (Party.boot).
12
+
*/
13
+
(function(){
14
+
'use strict';
15
+
if(window.BackRoomClimb)return;
16
+
varPATH='rooms/elo-day/players',SHOW=5;
17
+
varES={
18
+
'Fastest climbing Aisles today': 'Los Aisles que más suben hoy',
19
+
'Elo won in ranked games today. Win a ranked match to push your Aisle up.': 'Elo ganado hoy en partidas con rango. Gana una partida con rango para subir a tu Aisle.',
20
+
'No Aisle has climbed yet today. Win a ranked match to put yours on the board.': 'Ningún Aisle ha subido todavía hoy. Gana una partida con rango para poner el tuyo en la tabla.',
"A new board at the top of the Back Room shows which Aisles are climbing fastest today, with live green arrows.",
7
+
"It adds up the Elo every member wins in ranked games today, and names each Aisle's top climber.",
8
+
"It starts fresh every day, so any Aisle can top it."
9
+
],
10
+
"es": {
11
+
"Fastest climbing Aisles today": "Los Aisles que más suben hoy",
12
+
"Aisles": "Aisles",
13
+
"Elo": "Elo",
14
+
"A new board at the top of the Back Room shows which Aisles are climbing fastest today, with live green arrows.": "Una nueva tabla arriba del Back Room muestra qué Aisles están subiendo más rápido hoy, con flechas verdes en vivo.",
15
+
"It adds up the Elo every member wins in ranked games today, and names each Aisle's top climber.": "Suma el Elo que cada miembro gana hoy en partidas con rango y nombra a quien más sube en cada Aisle.",
16
+
"It starts fresh every day, so any Aisle can top it.": "Empieza de cero cada día, así que cualquier Aisle puede llegar arriba."
0 commit comments