- Add MapID field to engine Config struct for inclusion in replay JSON - Add map_id to TypeScript Config interface - Add map voting panel to replay viewer sidebar with: - Map metadata display (dimensions, wall density, energy node count) - Thumbs up/down vote buttons wired to POST /api/vote/map - One vote per visitor enforcement (disables after voting) - Net vote count display with positive/negative coloring - Graceful fallback when map_id unavailable (local replays) Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| .gitignore | ||
| app.html | ||
| CLOUDFLARE_DEPLOYMENT.md | ||
| DEPLOYMENT_INSTRUCTIONS.md | ||
| embed.html | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| pages.json | ||
| tsconfig.json | ||
| vite.config.ts | ||