castle-web-cli 0.4.4 → 0.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kits/basic-2d/CLAUDE.md +3 -3
- package/package.json +1 -1
package/kits/basic-2d/CLAUDE.md
CHANGED
|
@@ -12,9 +12,9 @@ Write the smallest game that satisfies what the user asked for. No sound, partic
|
|
|
12
12
|
|
|
13
13
|
## Workflow
|
|
14
14
|
|
|
15
|
-
1.
|
|
16
|
-
2.
|
|
17
|
-
3. After every edit
|
|
15
|
+
1. **Serve first.** `castle-web serve . --detach` immediately (unless a serve is already running -- check `.castle/serve.json`). This makes your work visible to the user from the start.
|
|
16
|
+
2. **Build incrementally.** Start with a minimal playable core (one mechanic, simplest scene), restart, verify, then add the next piece. Do NOT write the whole game in one shot. The user is watching the served page; demonstrate progress.
|
|
17
|
+
3. **After every edit:** `npm run restart` (no hot reload). The served page refreshes; keep showing results as you go.
|
|
18
18
|
|
|
19
19
|
Card size is **500 wide × 700 tall** (origin top-left, +y is down).
|
|
20
20
|
|