Skip to the content

Taisen Brackets対戦

Knockout brackets as SVG, from a list of ties.

Taisen (対戦, たいせん) is Japanese for a matchup: two sides facing each other. About the name

Contents

Reference · Draw a bracket, a table or a road to the final

JudoPodiumtype

The medallists of a judo tournament, as far as it has been fought.

Import it

import type { JudoPodium } from "@johnmorrisdotca/taisen-brackets";

Definition

interface JudoPodium {
    gold: Team | null;
    silver: Team | null;
    bronze: Team[];
}

Members

NameTypeDescription
goldTeam | null
silverTeam | null
bronzeTeam[]

The two bronze medallists: the winners of the bronze medal contests, or the losing semi-finalists of a direct knockout. Only those decided.

Examples

import { judoPodium, type JudoPodium, advanceWinners, judoBracket } from "@johnmorrisdotca/taisen-brackets";

const { matchups } = judoBracket(["Haru", "Marc", "Levan", "Min"].map((name) => ({ id: name, name })));
const podium: JudoPodium = judoPodium(advanceWinners(matchups));
console.log(podium.gold, podium.bronze.length);
null 0

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/taisen-brackets 0.20.0.