refactor!: remove firebase leftovers, admin page on the server (P1-8)
BREAKING CHANGE: admin/cleanup.js, admin/setcoins.js and docs/firebase are gone; the admin page now runs at /admin/.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
drives this pure logic, so the hard-to-test bit here is small and fully covered by tests.
|
||||
|
||||
Every client computes the SAME bracket from the same inputs (frozen player list + seed), so no
|
||||
server is needed to agree on who plays whom. Results come in over Firebase as a map
|
||||
server is needed to agree on who plays whom. Results come in from the server as a map
|
||||
results[round][pairIndex] = winnerUid; a bye (odd player out) advances on its own.
|
||||
|
||||
RC.LTourney.order(uids, seed) -> seeded slot order, padded with null byes to a power of two
|
||||
|
||||
Reference in New Issue
Block a user