220f70d342
shared/tile-inventory.json + shared/roll-tables.json + shared/GAME-REVIEW.md
+ shared/BRANCHING-TEMPLATE.md were parsed from the design doc in a separate
session and were already sitting untracked in this repo. This is the real,
authoritative game content — 211 tiles across 12 segments, 5 player stats
(cash/love/education/wealth/age), 48 placeholder roll tables — far more
complete than the hand-sketch-inspired board built earlier.
Adds shared/tileInventory.js and shared/rollTables.js: mechanical
`export default {...}` wrappers around the same JSON (kept as-is alongside
them as the raw source reference), so the content is importable both by the
server and by the browser fetching shared/*.js with zero bundler — the same
pattern every other file in shared/ already uses. Avoids relying on JSON
module import-attribute syntax, whose support is uncertain on node:20-alpine
(the Dockerfile's base image).
Also includes assets/colors.json and assets/tile_types.json (an apparently
separate, incomplete transcription of the hand sketch) — not wired into
anything yet, just brought into version control.
Appends integration-gap TODOs to GAME-REVIEW.md: 85 inline_table tiles have
a die size but no table content anywhere in the parsed files; payday/
cash_bonus amounts are undefined everywhere; multi-table roll_table_ref
tiles (2-3 tables at once, 22 of them) have no documented combination rule.
26 lines
463 B
JSON
26 lines
463 B
JSON
[
|
|
{
|
|
"id": "0",
|
|
"name": "Start",
|
|
"color": "#f6edd8",
|
|
"zone": "start"
|
|
},
|
|
{
|
|
"id": "1",
|
|
"name": "High School Dropout",
|
|
"color": "#d6553b",
|
|
"zone": "start"
|
|
},
|
|
{
|
|
"id": "2",
|
|
"name": "@",
|
|
"color": "#e8a12a",
|
|
"zone": "start"
|
|
},
|
|
{
|
|
"id": "3",
|
|
"name": "High School Graduate",
|
|
"color": "#3f8f5f",
|
|
"zone": "start"
|
|
}
|
|
] |