Grid Games
Mix, structs, pattern matching
Model board state and player turns while building classic grid-based games.
Error!
You don't have access to that page. Do you have a license to redeem?
We can't find the internet
Attempting to reconnect
5 Little Potions, expanded edition
Learn functional programming the practical way: by shipping small, focused Elixir projects that grow from a terminal warm-up into five substantial game builds.
Get the Expanded Edition ($35)

Functional programming can feel abstract. Immutability, pattern matching, processes, and message passing make sense in theory, but they click faster when you use them to build something you can play. 5 Little Potions turns those ideas into practical Elixir projects with visible feedback at every step.
After an introductory Guessing Game, the book moves through five fuller projects that layer on Mix, LiveView, process state, and multiplayer Phoenix patterns.
Mix, structs, pattern matching
Model board state and player turns while building classic grid-based games.
LiveView state and events
Build a browser game that responds to player input and updates in real time.
Graphs and command parsing
Create a larger world with rooms, edges, commands, and deeper state.
GenServers and process state
Use a server process to run a text-based simulation with turns, markets, and events.
PubSub, Presence, multiplayer LiveView
Finish with a shared real-time browser game where connected players affect one world.
100% satisfaction guarantee. If you don't love the book, reply to your Gumroad receipt within 14 days for a full refund.
Start Building in Elixir NowWelcome! →