Defender #12

Merged
brianfertig merged 3 commits from Defender into main 2026-09-06 23:45:43 +00:00

3 Commits

Author SHA1 Message Date
Brian Fertig ed7620ee7b Replace chevron player ship with detailed asymmetric interceptor silhoue
- Introduce SHIP_HULL polygon and ENGINE_COLOR for a sharper, cyberpunk-style ship
- Swap strokeChevron for drawShip, adding fuselage spine, canted canopy, dorsal-fin greebles, and a speed-reactive neon engine flare
- Update lives readout to render mini ship glyphs instead of chevrons
2026-09-06 17:44:19 -06:00
Brian Fertig 03d35b0b00 Overhaul boss encounters into distinct escalating profiles per level
- Replace flat kind/secondaryKind model with named BOSS_PROFILES that each carry their own move list, speed multiplier, and attack cooldown, so later fights are harder along every axis at once.
- Add six new attack patterns (ring, spread, spiral, aimed, wall, reinforce) dispatched via round-robin; bosses under half health can swap to a harder phase2Moves set.
- Surface the boss name in the WARNING banner and extend its display time.
- Extend verifyDefender.js with check 10: asserts HP/cooldown monotonicity, valid move names, dual-phase presence, and live-simulates each level's boss to confirm declared move ordering and phase-2 takeover.
2026-09-06 15:54:20 -06:00
Brian Fertig 79fb74d9b2 Add Defender arcade game with wireframe rendering and headless verificat
- Implement full Defender gameplay: boids swarmers, walkers, abductors, boss fights, humanoid rescue/escape state machine, combo multiplier, and overdrive timescale across 5 levels
- Render all entities as procedural Graphics strokes (glow-stroke pair) with a toroidal wraparound world, per-level accent palettes, CRT overlay, and a custom vector font for banners/title
- Register the game in the registry, scene dispatch, asset manifest, and soundtrack overrides so it appears alongside other arcade titles
- Add tools/verifyDefender.js covering wrap math, seam-adjacent boids, every rescue transition, overdrive thresholds, entity leak bounds, boss/level tally, spiral-of-death guard, determinism, and a Monte-Carlo bot soak
2026-09-06 15:14:42 -06:00