Play by shareable link, vs the Radical Bot, or pass-and-play. Server-authoritative moves (chess.js) in a per-game Durable Object, clocks with idle flag-fall via DO alarms, draw/resign/rematch/chat, D1 game archive, custom board UI (drag + click). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
22 lines
711 B
JSON
22 lines
711 B
JSON
{
|
|
"name": "radical-chess",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "Radical Chess — real-time online chess on Cloudflare (a Radical Party project)",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build:client": "esbuild client/app.js --bundle --minify --format=esm --outfile=public/dist/app.js",
|
|
"dev": "npm run build:client && wrangler dev",
|
|
"deploy": "wrangler deploy",
|
|
"db:migrate:local": "wrangler d1 migrations apply radical-chess --local",
|
|
"db:migrate": "wrangler d1 migrations apply radical-chess --remote"
|
|
},
|
|
"dependencies": {
|
|
"chess.js": "^1.0.0-beta.8",
|
|
"hono": "^4.6.14"
|
|
},
|
|
"devDependencies": {
|
|
"esbuild": "^0.24.0",
|
|
"wrangler": "^4.96.0"
|
|
}
|
|
}
|