Badminton court, with a score

Japan 1, Korea 1, Game 3Final, Game 3. Japan 1, Korea 1. The game is level. Japan is serving. By game, Japan: 21, 18, 11. By game, Korea: 17, 21, 9. Drawn as: a badminton court, 13.4 by 6.1 metres, with its singles and doubles lines, short and long service lines, centre lines and the net.Final123GamesJAPAN2118111KOREA172191Game 3

The picture above was drawn when the docs were built. The script below draws it again with the published package.

import { drawKyogijo } from "@johnmorrisdotca/kyogijo-stadiums";

const svg = drawKyogijo({
  sport: "badminton",
  away: { name: "Japan", abbr: "JPN", score: 1, color: "#bc002d", sets: [21, 18, 11], serving: true },
  home: { name: "Korea", abbr: "KOR", score: 1, color: "#c60c30", sets: [17, 21, 9] },
  status: "game-3",
  competition: "Final",
});

This page imports the package from jsDelivr (major version 0), which serves only versions that have been published to npm. A feature added after the last release is not in it: the page then keeps the picture above and says why. The docs were built from version 0.64.0.