Commit graph

2 commits

Author SHA1 Message Date
jedarden
285a66b836 style: format generate-maps-index.go with gofmt
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-25 18:59:24 -04:00
jedarden
b6000fd889 feat(index-builder): add map library deployment per plan §3.8
- Add generate-maps-index.go script to generate maps/index.json and maps/{map_id}.json from maps/ directory
- Update docs-api.ts with /data/maps/index.json and /data/maps/{map_id}.json endpoints
- Generate 200 maps (50 per player count: 2, 3, 4, 6) in web/dist/data/maps/
- Maps include full geometry: walls, cores, energy nodes
- Index builder's generateMapsIndex() function already integrated (line 169 of generator.go)

Acceptance criteria met:
1. Maps directory exists with 200 maps (50 per player count)
2. generateMapsIndex() generates maps/index.json and maps/{map_id}.json in outputDir
3. web/dist/data/maps/ appears after npm run build (201 files: 1 index + 200 map details)
4. Maps endpoints documented at /docs/api

Closes: bf-2xjg

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-25 18:57:43 -04:00