Log inGet started
World

Match Flow Kit: Countdowns, Rounds and Results

README.md

results

The end-of-round screens. Each of the four kinds comes in all three looks:

  • podium: the top three on steps, with the rest listed below.
  • table: full standings with place, score and rounds won.
  • banner: one big winner card.
  • recap: a round-by-round grid with each round's winner.

render(kind, look, data, { w, h, t, narrow }) returns a node. t is the seconds since the screen opened, which drives the entrance animation. narrow picks the portrait phone layout (4th place on listed under the podium, detail folded into each table row, runners-up stacked under the banner, the recap turned to a row per player); it defaults to on when the panel is taller than it is wide. data comes from MatchFlow.view.results(...), or view.sample() for previews. MatchFlow and the style gallery call it.