Building an Indie Game in GO
summary
Builds a playable prototype of an 80s card game "Travel Around the World" using Go and Ebiten, with assets as PNGs and card rules loaded from JSON, hot-reloaded via viper watch config. Game loop runs update/draw ~60Hz, card logic and validations live in a receive method, stacks and fields implemented with Go type embedding, AI is a dumb key-sender, and test coverage sits around 50% (graphics mostly untested). Animations and sounds are acknowledged but not implemented yet; code is open source.
AI-written summary · about
chapters (28)
- 0:00Intro
- 1:26The Plan
- 2:20My problem with commercial engines
- 4:06My Constraints
- 4:51Game Dev 101
- 5:51The Game: Around the World
- 6:15The basic rules
- 7:11The playing field
- 7:52The cards
- 8:35Battle Stack and the Oriented State
- 9:31Prototyping: eXtreme Go Horse
- 10:21Our tools
- 11:19Ebiten 101
- 14:04Drawing Things
- 16:53Handling Assets and Configurations
- 17:23Card Definition
- 20:44Handling Configurations
- 23:55The Game States
- 24:29Managing State
- 25:28Handling Inputs
- 26:28Testing State Transitions
- 28:54The Game Logic
- 32:21Drawing Logic
- 32:40Drawing Example: Stack Types
- 33:10Drawing Example: Field Types
- 34:08Putting Everything Together
- 38:15The Future
- 38:48Conclusions
related talks
06mMobile Game Development in Go
42mPanel - The Many Faces of Game Development
18mOvercoming latency, How we build a Cloud Game service with Go
29mBuilding a Game Engine for 300 DEFCON Hackers to Smash
50mDomain-driven Game Design
09mGame Development in Clojure
05mGameDev in Elixir using ECS and Live View
36mGame Development in SwiftUI
