ai-code-battle/wasm/bots/swarm
jedarden 306b0d2c5f feat(wasm): implement SwarmBot AssemblyScript WASM with full strategy per plan §11.2
Implements complete SwarmBot formation-based combat strategy in AssemblyScript:
- JSON parsing for game config and state
- Tight cohesion (radius=3) movement with circular mean center-of-mass
- Enemy-seeking behavior with engagement bonuses
- Toroidal distance calculations

Builds to 27KB swarm.wasm (AssemblyScript produces compact binaries vs
Go's ~12MB). Build script now copies to dist/.

Closes: bf-2a7w

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-25 17:45:46 -04:00
..
asconfig.json feat(wasm): add separate WASM bot builds for browser sandbox (plan §11.1) 2026-05-25 14:58:01 -04:00
assembly.json feat(wasm): add separate WASM bot builds for browser sandbox (plan §11.1) 2026-05-25 14:58:01 -04:00
build.sh feat(wasm): implement SwarmBot AssemblyScript WASM with full strategy per plan §11.2 2026-05-25 17:45:46 -04:00
index.ts feat(wasm): implement SwarmBot AssemblyScript WASM with full strategy per plan §11.2 2026-05-25 17:45:46 -04:00
package-lock.json feat(wasm): implement SwarmBot AssemblyScript WASM with full strategy per plan §11.2 2026-05-25 17:45:46 -04:00
package.json feat(wasm): add separate WASM bot builds for browser sandbox (plan §11.1) 2026-05-25 14:58:01 -04:00