@johnmorrisdotca/kyogijo-stadiums 0.53.0 → 0.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/catalogue.json +1 -1
- package/dist/catalogue.data.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,16 @@ All notable changes to this project are written here. The format follows
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.54.0] - 2026-11-03
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- **Play a game wherever the rink is (KYOGIJO-STADIUMS-42)** ([example games](./docs/example-games.md#the-index)): the demo's **Play a game** toggle is on every view that can play an example game: the real arenas' page in 3D (after Labels; `game=1` in the address), the home page's Try it surface, flat with `mount.replay` and in 3D with `view.replay` (after Dark; `game=1`), and the home page's arena as before (`fgame=1`). Where it shows is the index's to say: `examples/games/index.json` lists each game with the surface it is played on, its file, its frame and its title in English and Japanese, so a new game is its file and one line, and no code. Off until pressed; the game is fetched on the first press only; pressing again gives back the empty surface, and on Try it the reader's own teams and score exactly as they were (the game's sides and live score are laid over them while it plays, and the module code shows the replay). A change of arena, of flat and 3D, of the crowd or of the theme keeps the game at the same moment; another surface, a badge or the flat arena stops it and leaves nothing behind. On an arena with its LED boards on, the scoreboard over the ice follows the game (the replay board of 0.53.0), on the arenas page as on the home page's arena. One controller, `demo/play-game.js`, serves the three, and `e2e/game.demo.mjs` holds the replay's freeze and leak budgets on these pages (no frame while paused, hidden or out of sight; one a frame with the auto-turn; the same elements and listeners after ten times round; nothing left after it stops) and the index's say with a fake index. The 3D views of the arenas page and of Try it no longer leave two listeners on their stage each time they are made again.
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- The demo's surface picker (KYOGIJO-STADIUMS-43): the Try it panel's Surface choice, 43 chips in one unordered block, is now a row of kinds (field, court, ice, pool, track, budō, mat and ring), then that kind's sports A to Z in the page's language (in Japanese by reading, in gojūon order), then for gridiron football its NFL, CFL and IFAF fields in a small row under it. Each row is a radio group (arrow keys, Home and End move, Space and Enter choose); the address still names the surface (`?sport=cfl`) and brings back its kind and sport; a surface with an example game in `examples/games/index.json` carries a small play mark. The logic is `demo/surface-kinds.js`, with `src/surface-kinds.test.js` and `e2e/surface.demo.mjs`.
|
|
19
|
+
|
|
10
20
|
## [0.53.0] - 2026-11-03
|
|
11
21
|
|
|
12
22
|
- **The arena's scoreboard shows the game being played (KYOGIJO-STADIUMS-35)** ([the scoreboard over the arena](./docs/replay.md#the-scoreboard-over-the-arena-follows-the-game)): while a replay plays on a 3D view whose venue has its LED boards on, the scoreboard hung over centre ice shows the replay's score, period and game clock instead of the fixed score of its options. `replayBoard(timeline, t)` (pure, from `replay`) works the board out from the timeline's goals and its new optional `periods` (`start`, `end`, `number`, `length`) and `clock` (`down` or `up`). The board is written when it changes: at once for a goal, a period, a seek, a step or a pause; the clock at most once a second while playing; nothing runs while paused, hidden or out of sight. Without a replay, or after `destroy`, the board is as before, and `view.replay(timeline, { board: false })` leaves it so. The demo's hero passes the example game's periods (a period is twenty minutes on the board's clock). About 4 kB more source for the 3D replay (its budget in `replay.budget.test.js` is 24 kB now).
|
package/catalogue.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"generatedAt": "2026-11-03",
|
|
4
4
|
"package": {
|
|
5
5
|
"name": "@johnmorrisdotca/kyogijo-stadiums",
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.54.0"
|
|
7
7
|
},
|
|
8
8
|
"address": "https://johnmorrisdotca.github.io/kyogijo-stadiums/catalogue.json",
|
|
9
9
|
"site": "https://johnmorrisdotca.github.io/kyogijo-stadiums/",
|
package/dist/catalogue.data.js
CHANGED
|
@@ -3,7 +3,7 @@ export const CATALOGUE_DATA = {
|
|
|
3
3
|
"generatedAt": "2026-11-03",
|
|
4
4
|
"package": {
|
|
5
5
|
"name": "@johnmorrisdotca/kyogijo-stadiums",
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.54.0"
|
|
7
7
|
},
|
|
8
8
|
"address": "https://johnmorrisdotca.github.io/kyogijo-stadiums/catalogue.json",
|
|
9
9
|
"site": "https://johnmorrisdotca.github.io/kyogijo-stadiums/",
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** The package's version: the same as package.json's, and a test holds them to each other. */
|
|
2
|
-
export declare const VERSION = "0.
|
|
2
|
+
export declare const VERSION = "0.54.0";
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** The package's version: the same as package.json's, and a test holds them to each other. */
|
|
2
|
-
export const VERSION = "0.
|
|
2
|
+
export const VERSION = "0.54.0";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@johnmorrisdotca/kyogijo-stadiums",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.54.0",
|
|
4
4
|
"description": "Kyogijo Stadiums 競技場, 40 sports' surfaces as SVG, drawn to scale from the rulebooks: NFL, CFL and IFAF football fields, an NHL rink, an NBA court, MLB ballparks, soccer pitches, curling sheets, athletics stadiums, speed skating, short track and figure skating rinks, swimming pools, water polo fields, diving wells, artistic swimming areas, and the courts and fields of tennis, volleyball (indoor, beach and sitting), badminton, pickleball, table tennis, padel, squash, racquetball, sepak takraw, teqball, roundnet, netball, lacrosse, rugby, Australian football, Gaelic games, cricket, field hockey and handball, and the budo of judo, karate, kendo, sumo and kyudo with a dojo of tatami laid as real units, the MMA cage, with each team's name and logo on its side and the score in the middle, stands and a crowd, a pageant of flags, and a 3D view. Light and dark, accessible, a compact badge for lists, a helper for React and a custom element. Zero dependencies.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sports",
|