JudoSystem型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
How a judo tournament is drawn: repechage (the IJF's quarter-final repechage, with its two bronze medal contests), or direct (a direct knockout in which both semi-final losers are bronze medallists).
インポート
import type { JudoSystem } from "@johnmorrisdotca/taisen-brackets";
定義
type JudoSystem = "repechage" | "direct";
例
import { judoBracket, type JudoSystem } from "@johnmorrisdotca/taisen-brackets";
const system: JudoSystem = "direct";
console.log(judoBracket(["A", "B", "C", "D"].map((name) => ({ id: name, name })), { system }).matchups.length);3出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。