Small games written in Go using the Entity Component System pattern, built with Ebitengine and Donburi.
Made for the Making Games in Go with ECS post.
Play in the browser: https://threedotslabs.github.io/go-ecs-games/
- pufferfish: swim around, collect bubbles to grow, and avoid the other fish.
Move with
WASD, press/to toggle debug. - tiles: click or tap tiles to knock them down.
patterns/ is a catalog of ECS patterns for Ebitengine and Donburi games. It's extracted from games I made before, so don't treat it as the definitive answer. I made it for AI agents, to keep what they build in line with what's already familiar to me.
cd pufferfish # or tiles
go run .- Sprites: Fish Pack by Kenney (CC0)
- Font: Kenney Mini Square Mono from Kenney Fonts by Kenney (CC0)