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 · Where every tie sits

JudoMethodtype

How a contest was won. "score" is a decision on the technical scores (the waza-ari, then the yuko, counted).

Import it

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

Also exported from: @johnmorrisdotca/taisen-brackets

Definition

type JudoMethod = "ippon" | "waza-ari-awasete-ippon" | "score" | "hansoku-make" | "fusen-gachi" | "kiken-gachi";

Examples

import { judoOutcome, type JudoMethod } from "@johnmorrisdotca/taisen-brackets";

const method: JudoMethod = "ippon";
console.log(judoOutcome({ sides: [{ ippon: true }, {}] }).method === method);
true

What it prints (run when this page was built)

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