aboutsummaryrefslogtreecommitdiff
path: root/input.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
* Add Input abstraction between ebiten and simulation updateMartin Kagamino Lehoux2026-05-07
Introduces Input snapshot struct collected once per tick via CollectInput, and UpdateSimulation(Input) as the ebiten-free simulation entrypoint. Integration tests now drive the game through simulated inputs rather than direct method calls. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>