This year, I decided to learn new programming languages. I spent some time studying the C programming language, mostly practicing data structures and algorithms, but I decided it would be more practical and pragmatic to learn a modern language.
Golang caught my attention as a straightforward language that allows developers to write efficient software without sacrificing development speed.
I started with The Go Programming Language book by Alan A. A. Donovan and Brian Kernighan. It’s a great resource, as it covers the language’s foundations with practical examples, clear explanations, and extra recipes to kick off your project.
I decided to learn by doing. While reading the book, I will be developing the classic Snake game, using concepts I find in the book and complementing them with resources from the internet.
To make things more interesting, I want my Snake game to be multiplayer. There will be a single map where a limited number of players can join at once. Snakes will hunt for prey and bite one another.
My Snake game will be a browser-based game. The backend—the game engine—will be written in Go. It will communicate with the client through WebSockets.
I have a lot of ideas for the features and game architecture that I will cover in future logs!
Stay tuned!