<%- include('head') %>

<%= lg.name %>

Leaderboard (best <%= lg.best_n %> sessions)

<% const pct = (r, k) => r.tb ? (r.tb[k] * 100).toFixed(2) : '–' %> <% rows.forEach((r, i) => { %><% }) %>
#PlayerCountedAll sessionsPlayedW-D-LOMW%GW%OGW%
<%= i + 1 %><%= r.name %><%= r.score %><%= r.total %> <%= r.sessions %><%= r.rec ? r.rec.join('-') : '–' %> <%= pct(r, 'omw') %><%= pct(r, 'gw') %><%= pct(r, 'ogw') %>

Ties: total of all sessions, then Melee's tiebreakers (opponents' match-win %, game-win %, opponents' game-win %) over all league matches.

Sessions

<% if (admin) { %>
<% } %>

Deck performance (match W-D-L)

<% decks.forEach(([d, r]) => { %><% }) %>
DeckW-D-L
<%= d %><%= r.join('-') %>
<% if (admin) { %>
<% } %>