Skip to content

Commit afb6213

Browse files
author
DavidQ
committed
chore(games): validate and normalize workspace JSON contracts, add missing playable catalogs, remove unused breakout preset
1 parent 95090be commit afb6213

8 files changed

Lines changed: 115 additions & 364 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"schema": "html-js-gaming.game-asset-catalog",
3+
"version": 1,
4+
"gameId": "aitargetdummy",
5+
"assets": {
6+
"image.ai-target-dummy.preview": {
7+
"path": "/games/AITargetDummy/assets/images/preview.svg",
8+
"kind": "image",
9+
"source": "workspace-manager"
10+
}
11+
}
12+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"schema": "html-js-gaming.game-asset-catalog",
3+
"version": 1,
4+
"gameId": "gravitywell",
5+
"assets": {
6+
"image.gravitywell.preview": {
7+
"path": "/games/GravityWell/assets/images/preview.svg",
8+
"kind": "image",
9+
"source": "workspace-manager"
10+
}
11+
}
12+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"schema": "html-js-gaming.game-asset-catalog",
3+
"version": 1,
4+
"gameId": "pacman",
5+
"assets": {
6+
"image.pacman.preview-svg": {
7+
"path": "/games/Pacman/assets/images/preview.svg",
8+
"kind": "image",
9+
"source": "workspace-manager"
10+
},
11+
"image.pacman.preview-png": {
12+
"path": "/games/Pacman/assets/images/preview.png",
13+
"kind": "image",
14+
"source": "workspace-manager"
15+
}
16+
}
17+
}

games/Pacman/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<link rel="stylesheet" href="/src/engine/ui/baseLayout.css" />
1313
<link rel="stylesheet" href="../../src/engine/theme/main.css" />
1414
<script type="module">
15-
import { bootWorkspaceGame } from "/games/shared/workspaceGameBoot.js";
15+
import { bootWorkspaceGame } from "../shared/workspaceGameBoot.js";
1616
bootWorkspaceGame("Pacman");
1717
</script>
1818

0 commit comments

Comments
 (0)