luigivanacore/beginning-game-programming-go-ebitengine — explained in plain English
Analysis updated 2026-05-18
Follow along with the Beginning Game Programming with Go book chapter by chapter, running each chapter's code independently.
Study a from-scratch 2D game engine covering scene graphs, collisions, cameras, and UI in Go.
Build and extend the finished Gopher Survivor bullet-heaven game as a starting point for your own game.
| luigivanacore/beginning-game-programming-go-ebitengine | negt-dev/funcaptcha-solve-rsa | rockorager/comview | |
|---|---|---|---|
| Stars | 47 | 47 | 47 |
| Language | Go | Go | Go |
| Setup difficulty | easy | moderate | easy |
| Complexity | 2/5 | 5/5 | 2/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires Go 1.22 or later, each chapter runs independently with a single go run command.
This repository holds the complete source code that goes along with a book called Beginning Game Programming with Go, which teaches readers how to build a 2D game step by step using the Go programming language and a game framework called Ebitengine. The game built throughout the book is called Gopher Survivor, inspired by the popular Vampire Survivors style of game, where you move a character around an endless map while waves of enemies close in, your weapons fire automatically, and you collect experience to level up and choose upgrades on the way to a final boss fight. The project is aimed at people who already know the basics of the Go language and want to learn how game programming works, as well as anyone curious about building a small 2D game engine from scratch, covering things like managing scene objects, loading images and sounds, handling input, detecting collisions, moving the camera, building menus, and playing audio. No prior experience with Ebitengine itself is required to follow along. The code is organized so that each chapter of the book lives in its own separate folder with its own independent project setup, which means you can build and run any single chapter on its own and easily compare how the code changes from one chapter to the next. There are thirteen chapters in total, starting from a simple window showing a single character sprite and ending with the fully finished game including visual effects and floating damage numbers. All of the game's images, sounds, and fonts are bundled directly into the program itself, so the finished game runs as one self contained file with nothing extra to carry along. The source code in this repository is released under the MIT license, though the text and illustrations of the book itself are not covered by that license and remain separately copyrighted.
The full source code for a book that teaches 2D game programming in Go by building a bullet-heaven style game chapter by chapter.
Mainly Go. The stack also includes Go, Ebitengine.
The source code is free to use, modify, and distribute for any purpose, including commercial use, as long as the copyright notice is kept. The book text itself is separately copyrighted.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Don't trust strangers blindly. Verify against the repo.