aboutsummaryrefslogtreecommitdiff
path: root/resource.go
Commit message (Collapse)AuthorAge
* Add examples catalog with subcommand dispatchMartin Kagamino Lehoux2026-06-06
| | | | | | | | | - Extract game engine from package main to engine/ library package - Create examples/ package with registry, Entry type, and BuilderDeps - Register default world as an example (moved from main()) - Add combat example: two teams of units facing each other - Rewrite main.go as thin dispatch: go run . example [name] - Update README with examples catalog one-liner
* refactor: transition to struct-of-arrays ECS architectureMartin Kagamino Lehoux2026-01-15
| | | | | | | - Replace individual Entity structs with centralized component slices in Game struct (SoA layout). - Implement bitmask-based component lookup (CM_Position, CM_Move, etc.). - Convert logic from object-oriented Update() methods to standalone Systems (UpdateMoveSystem, UpdateGatherSystem, UpdateSpawnSystem). - Update rendering, selection, and input handling to iterate over component arrays.
* Regroup drawingMartin Kagamino Lehoux2025-07-07
|
* feat(order): Gather resourcesMartin Kagamino Lehoux2023-10-06