ai-code-battle/Makefile
jedarden b6b4d27267 feat(maps): add seed map library for initial deployment (plan §3.8)
- Create maps/ directory with 50 maps per player count (2, 3, 4, 6)
- Each map includes metadata: id, players, dimensions, wall density
- Generate maps using acb-mapgen with rotational symmetry
- Add scripts/generate-map-library.sh for regeneration
- Add Makefile with map-library target

Plan §3.8 specifies: "Pre-generated pool of 50+ maps per player count"
Total: 200 maps (50 each for 2, 3, 4, and 6 players)

Closes: bf-4mlv

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-25 08:42:12 -04:00

40 lines
666 B
Makefile

# AI Code Battle Makefile
.PHONY: all build test clean map-library
# Default target
all: build
# Build all binaries
build:
go build ./...
# Run all tests
test:
go test ./...
# Run tests with verbose output
test-v:
go test -v ./...
# Run engine tests only
test-engine:
go test -v ./engine/...
# Build acb-local binary
acb-local:
go build -o bin/acb-local ./cmd/acb-local
# Build acb-mapgen binary
acb-mapgen:
go build -o bin/acb-mapgen ./cmd/acb-mapgen
# Generate the map library (50 maps per player count)
map-library:
@echo "Generating map library..."
@./scripts/generate-map-library.sh
# Clean build artifacts
clean:
go clean ./...
rm -rf bin/