(Body Snatcher) Pass 3

This commit is contained in:
AlexKucera committed 2026-08-13 07:25:35 +02:00
1 parent d819146009
commit 832f3a3345
36 files changed
+6416

No files matched your search

+177
View File
@@ -0,0 +1,177 @@
=== Phase 1 (attempt 1/3) ===
Verification:
```bash
node verify.js 1
# Phase 1: PASS (8/8)
```
✓ index.html has <canvas> and <script>
✓ no external src= or import
✓ GAME.start() runs, valid state
✓ grid has wall and floor tiles
✓ ghost moves on input, blocked by wall
✓ title screen explains controls (WASD/arrows/SPACE/Q-E/ENTER/ESC)
✓ enemy legend (bestiary) reachable, lists enemies
✓ starting ghost timer >= 15s
Phase 1: PASS (8/8)
=== Phase 1 PASSED (gates 1..1 green) ===
=== Phase 2 (attempt 1/3) ===
Self-checks (per instructions) both pass:
```bash
node verify.js 1 && node verify.js 2
```
✓ index.html has <canvas> and <script>
✓ no external src= or import
✓ GAME.start() runs, valid state
✓ grid has wall and floor tiles
✓ ghost moves on input, blocked by wall
✓ title screen explains controls (WASD/arrows/SPACE/Q-E/ENTER/ESC)
✓ enemy legend (bestiary) reachable, lists enemies
✓ starting ghost timer >= 15s
Phase 1: PASS (8/8)
✓ SPACE on adjacent enemy -> possessed
✓ X abandons host: ghost returns, host survives, lockout
✓ Brute/Skitterer/Sentinel stats
✓ Sentinel fires a burst then OVERHEATS (no-fire window)
✓ enemies pathfind toward the ghost
✓ killing host ejects ghost with timer>0
✓ essence increases on kill
✓ no friendly fire: Sentinel projectiles never hit another enemy
Phase 2: PASS (8/8)
=== Phase 2 PASSED (gates 1..2 green) ===
=== Phase 3 (attempt 1/3) ===
supacode: OSC emit failed: code=ENXIO errno=-6 message=ENXIO: no such device or address, open '/dev/tty'
supacode: OSC emit failed: code=ENXIO errno=-6 message=ENXIO: no such device or address, open '/dev/tty'
supacode: OSC emit failed: code=ENXIO errno=-6 message=ENXIO: no such device or address, open '/dev/tty'
✓ index.html has <canvas> and <script>
✓ no external src= or import
✓ GAME.start() runs, valid state
✓ grid has wall and floor tiles
✓ ghost moves on input, blocked by wall
✓ title screen explains controls (WASD/arrows/SPACE/Q-E/ENTER/ESC)
✓ enemy legend (bestiary) reachable, lists enemies
✓ starting ghost timer >= 15s
Phase 1: PASS (8/8)
✓ SPACE on adjacent enemy -> possessed
✓ X abandons host: ghost returns, host survives, lockout
✓ Brute/Skitterer/Sentinel stats
✓ Sentinel fires a burst then OVERHEATS (no-fire window)
✓ enemies pathfind toward the ghost
✓ killing host ejects ghost with timer>0
✓ essence increases on kill
✓ no friendly fire: Sentinel projectiles never hit another enemy
Phase 2: PASS (8/8)
✓ all 12 enemy types instantiate
✓ distinct hp+damage+speed tuples
✓ each special ability triggers without error
✓ pathfinder navigates around walls (not through)
✓ Bomber AoE damages player only, never other enemies
✓ Charger charge hits player only, never other enemies
✓ Turret shots hit player only, never other enemies
✓ Turret OVERHEATS after burst
Phase 3: PASS (8/8)
=== Phase 3 PASSED (gates 1..3 green) ===
=== Phase 4 (attempt 1/3) ===
supacode: OSC emit failed: code=ENXIO errno=-6 message=ENXIO: no such device or address, open '/dev/tty'
supacode: OSC emit failed: code=ENXIO errno=-6 message=ENXIO: no such device or address, open '/dev/tty'
supacode: OSC emit failed: code=ENXIO errno=-6 message=ENXIO: no such device or address, open '/dev/tty'
✓ index.html has <canvas> and <script>
✓ no external src= or import
✓ GAME.start() runs, valid state
✓ grid has wall and floor tiles
✓ ghost moves on input, blocked by wall
✓ title screen explains controls (WASD/arrows/SPACE/Q-E/ENTER/ESC)
✓ enemy legend (bestiary) reachable, lists enemies
✓ starting ghost timer >= 15s
Phase 1: PASS (8/8)
✓ SPACE on adjacent enemy -> possessed
✓ X abandons host: ghost returns, host survives, lockout
✓ Brute/Skitterer/Sentinel stats
✓ Sentinel fires a burst then OVERHEATS (no-fire window)
✓ enemies pathfind toward the ghost
✓ killing host ejects ghost with timer>0
✓ essence increases on kill
✓ no friendly fire: Sentinel projectiles never hit another enemy
Phase 2: PASS (8/8)
✓ all 12 enemy types instantiate
✓ distinct hp+damage+speed tuples
✓ each special ability triggers without error
✗ pathfinder navigates around walls (not through) → did not navigate (d0=7,df=7)
✓ Bomber AoE damages player only, never other enemies
✓ Charger charge hits player only, never other enemies
✓ Turret shots hit player only, never other enemies
✓ Turret OVERHEATS after burst
Phase 3: FAIL (7 passed, 1 failed)
- pathfinder navigates around walls (not through) :: did not navigate (d0=7,df=7)
✓ procedural dungeons differ across runs
✓ exit tile exists on the floor
✓ shop appears on floor transition
✓ buying an upgrade changes GAME.upgrades
✓ save() writes to localStorage
✓ save/load round-trip persists floor+essence+upgrades
Phase 4: PASS (6/6)
=== Phase 4 gate FAILED (attempt 1) ===
✓ procedural dungeons differ across runs
✓ exit tile exists on the floor
✓ shop appears on floor transition
✓ buying an upgrade changes GAME.upgrades
✓ save() writes to localStorage
✓ save/load round-trip persists floor+essence+upgrades
Phase 4: PASS (6/6)
=== Phase 4 (attempt 2/3) ===
for i in 1 2 3 4 5; do node verify.js $i || exit 1; done
done
```
All phases 1–5 PASS.
✓ index.html has <canvas> and <script>
✓ no external src= or import
✓ GAME.start() runs, valid state
✓ grid has wall and floor tiles
✓ ghost moves on input, blocked by wall
✓ title screen explains controls (WASD/arrows/SPACE/Q-E/ENTER/ESC)
✓ enemy legend (bestiary) reachable, lists enemies
✓ starting ghost timer >= 15s
Phase 1: PASS (8/8)
✓ SPACE on adjacent enemy -> possessed
✓ X abandons host: ghost returns, host survives, lockout
✓ Brute/Skitterer/Sentinel stats
✓ Sentinel fires a burst then OVERHEATS (no-fire window)
✓ enemies pathfind toward the ghost
✓ killing host ejects ghost with timer>0
✓ essence increases on kill
✓ no friendly fire: Sentinel projectiles never hit another enemy
Phase 2: PASS (8/8)
✓ all 12 enemy types instantiate
✓ distinct hp+damage+speed tuples
✓ each special ability triggers without error
✓ pathfinder navigates around walls (not through)
✓ Bomber AoE damages player only, never other enemies
✓ Charger charge hits player only, never other enemies
✓ Turret shots hit player only, never other enemies
✓ Turret OVERHEATS after burst
Phase 3: PASS (8/8)
✓ procedural dungeons differ across runs
✓ exit tile exists on the floor
✓ shop appears on floor transition
✓ buying an upgrade changes GAME.upgrades
✓ save() writes to localStorage
✓ save/load round-trip persists floor+essence+upgrades
Phase 4: PASS (6/6)
=== Phase 4 PASSED (gates 1..4 green) ===
=== Phase 5 (attempt 1/3) ===