From f6955e34489c79f6d5b764cb6a39b1387366b433 Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Sun, 8 Nov 2026 21:56:29 +0100 Subject: Phase 0: project scaffolding - server/: Dart game-server package (shelf + WebSocket) with the hello/welcome handshake, ping/pong, error responses, healthz, static SPA serving with SPA fallback, and smoke tests (5/5) - web/: Svelte 5 + TypeScript SPA with the protocol client, connection-status page, vitest and svelte-check; Vite dev server proxies /ws to the Dart server - game data assets copied from the read-only reference app into server/assets/ (data, images, i18n, fonts, testData) - PLAN.md implementation plan and progress tracker; README rewritten for the web app; AGPLv3 LICENSE inherited from the reference app; .gitignore; scripts/ci.sh (full pipeline) - CLAUDE.md project guidance Verified: scripts/ci.sh passes end-to-end; live smoke confirms the server serves the built SPA at / and answers a WebSocket hello with a welcome message. --- server/assets/data/rooms/Buttons and Bugs.json | 335 +++++++++++++++++++++++++ 1 file changed, 335 insertions(+) create mode 100644 server/assets/data/rooms/Buttons and Bugs.json (limited to 'server/assets/data/rooms/Buttons and Bugs.json') diff --git a/server/assets/data/rooms/Buttons and Bugs.json b/server/assets/data/rooms/Buttons and Bugs.json new file mode 100644 index 0000000..14a0d77 --- /dev/null +++ b/server/assets/data/rooms/Buttons and Bugs.json @@ -0,0 +1,335 @@ +{ + "1": [ + { + "start": { + "Bandit Guard (BnB)": { + "normal": [ + 2, 2, 2 + ] + } + } + } + ], + "2": [ + { + "start": { + "Bandit Guard (BnB)": { + "normal": [ + 1,1,1 + ] + }, + "Bandit Archer (BnB)": { + "normal": [ + 2, 2, 2 + ] + } + } + } + ], + "3": [ + { + "start": { + "Mouse": { + "normal": [ + 3,3,3 + ] + } + } + } + ], + "4": [ + { + "start": { + "Bandit Archer (BnB)": { + "normal": [ + 2, 2, 2 + ] + }, + "Bandit Guard (BnB)": { + "normal": [ + 2, 2, 2 + ] + } + } + } + ], + "5": [ + { + "start": { + "King Button": { + "normal": [ + 1,1,1 + ] + }, + "Arena Sorcerer": { + "normal": [ + 1,1,1 + ] + }, + "Rending Beetle": { + "normal": [ + 1,1,1 + ] + } + } + } + ], + "6": [ + { + "start": { + "Harrowing Infestation": { + "normal": [ + 1, 1, 1 + ] + }, + "Spitting Moth": { + "normal": [ + 1, 1, 1 + ] + }, + "Sewer Rat": { + "normal": [ + 1, 1, 1 + ] + } + } + } + ], + "7": [ + { + "start": { + "Arena Sorcerer": { + "normal": [ + 2, 2, 2 + ] + }, + "Gloomtoad": { + "normal": [ + 1,1,1 + ] + } + } + } + ], + "8": [ + { + "start": { + "Spitting Moth": { + "normal": [ + 1, 1, 1 + ] + }, + "Venomous Centipede": { + "normal": [ + 1, 1, 1 + ] + } + } + } + ], + "9": [ + { + "start": { + "Mouse": { + "normal": [ + 4,4,4 + ] + } + } + } + ], + "10": [ + { + "start": { + "Gloomtoad": { + "normal": [ + 2, 2, 2 + ] + }, + "Rending Beetle": { + "normal": [1, 1, 1] + } + } + } + ], + "11": [ + { + "start": { + "Venomous Centipede": { + "normal": [ + 3, 3, 3 + ] + }, + "Sewer Rat": { + "normal": [ + 1,1,1 + ] + } + } + } + ], + "12": [ + { + "start": { + "Spitting Moth": { + "normal": [ + 2, 2, 2 + ] + }, + "Sewer Rat": { + "normal": [ + 2, 2, 2 + ] + } + } + } + ], + "13": [ + { + "start": { + "Harrowing Infestation": { + "normal": [ + 2, 2, 2 + ] + }, + "Spitting Moth": { + "normal": [ + 1,1,1 + ] + } + } + } + ], + "14": [ + { + "start": { + "Stuffed Construct": { + "normal": [ + 1,1,1 + ] + } + } + } + ], + "15": [ + { + "start": { + "Earth Demon (BnB)": { + "normal": [ + 1,1,1 + ] + }, + "Flame Demon (BnB)": { + "normal": [ + 1,1,1 + ] + }, + "Frost Demon (BnB)": { + "normal": [ + 1,1,1 + ] + } + } + } + ], + "16": [ + { + "start": { + "Earth Demon (BnB)": { + "normal": [ + 1,1,1 + ] + }, + "Wind Demon (BnB)": { + "normal": [ + 1,1,1 + ] + }, + "Flame Demon (BnB)": { + "normal": [ + 1,1,1 + ] + } + } + } + ], + "17": [ + { + "start": { + "Flame Demon (BnB)": { + "normal": [ + 1,1,1 + ] + }, + "Wind Demon (BnB)": { + "normal": [ + 1,1,1 + ] + }, + "Frost Demon (BnB)": { + "normal": [ + 1,1,1 + ] + } + } + } + ], + "18": [ + { + "start": { + "Earth Demon (BnB)": { + "normal": [ + 1,1,1 + ] + }, + "Wind Demon (BnB)": { + "normal": [ + 1,1,1 + ] + }, + "Frost Demon (BnB)": { + "normal": [ + 1,1,1 + ] + } + } + } + ], + "19": [ + { + "start": { + "Earth Demon (BnB)": { + "normal": [ + 1,1,1 + ] + }, + "Wind Demon (BnB)": { + "normal": [ + 1,1,1 + ] + }, + "Frost Demon (BnB)": { + "normal": [ + 1,1,1 + ] + }, + "Flame Demon (BnB)": { + "normal": [ + 1,1,1 + ] + } + } + } + ], + "20": [ + { + "start": { + "Mounted Prince": { + "normal": [ + 1,1,1 + ] + } + } + } + ] +} -- cgit v1.3.1