Fifteen figures in static/figures, one per kind, made to docs/figures-brief.md: a round base, a livery material the view recolours per side, and a base material left alone. The view loads three.js and the figures only when it is opened. It plays a move as a walk and a capture as a sink into the glass, dims a piece a Basilisk holds, marks the last move, the targets and a King in check, and lets a tap reach a figure or a marked square through the glass above it. Three cameras: from the corner, from the player's seat, from above. The table and the told game offer it behind the gate in src/lib/glass.svelte.ts, which opens for a browser that visits with ?glass=<word> whose hash it keeps. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CCLa2PaEeCj8njQZSWGqHx
38 lines
940 B
JSON
38 lines
940 B
JSON
{
|
|
"name": "wyrm",
|
|
"private": true,
|
|
"version": "0.0.1",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite dev",
|
|
"dev:all": "node scripts/dev-all.mjs",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"prepare": "svelte-kit sync || echo ''",
|
|
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"server": "tsx watch server/src/index.ts",
|
|
"server:start": "tsx server/src/index.ts",
|
|
"check:server": "tsc --noEmit -p server"
|
|
},
|
|
"devDependencies": {
|
|
"@sveltejs/adapter-static": "^3.0.10",
|
|
"@sveltejs/kit": "^2.63.0",
|
|
"@sveltejs/vite-plugin-svelte": "^7.1.2",
|
|
"@types/node": "^26.6.2",
|
|
"@types/ws": "^8.18.1",
|
|
"svelte": "^5.56.1",
|
|
"svelte-check": "^4.6.0",
|
|
"tsx": "^4.23.15",
|
|
"typescript": "^6.0.3",
|
|
"vite": "^8.0.16",
|
|
"vitest": "^5.0.1"
|
|
},
|
|
"dependencies": {
|
|
"@types/three": "^0.180.0",
|
|
"three": "^0.180.0",
|
|
"ws": "^8.21.3"
|
|
}
|
|
}
|