~/talk

Building an Indie Game in GO

Talkat GopherCon UK 2021 · 2021-10-25..10-27· [game-development]
slides:none on file

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

  1. 0:00Intro
  2. 1:26The Plan
  3. 2:20My problem with commercial engines
  4. 4:06My Constraints
  5. 4:51Game Dev 101
  6. 5:51The Game: Around the World
  7. 6:15The basic rules
  8. 7:11The playing field
  9. 7:52The cards
  10. 8:35Battle Stack and the Oriented State
  11. 9:31Prototyping: eXtreme Go Horse
  12. 10:21Our tools
  13. 11:19Ebiten 101
  14. 14:04Drawing Things
  15. 16:53Handling Assets and Configurations
  16. 17:23Card Definition
  17. 20:44Handling Configurations
  18. 23:55The Game States
  19. 24:29Managing State
  20. 25:28Handling Inputs
  21. 26:28Testing State Transitions
  22. 28:54The Game Logic
  23. 32:21Drawing Logic
  24. 32:40Drawing Example: Stack Types
  25. 33:10Drawing Example: Field Types
  26. 34:08Putting Everything Together
  27. 38:15The Future
  28. 38:48Conclusions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.