Alchemist Camp L9: Game state machine
We build a pattern matching state machine for our tic-tac-toe game. This video digs further into working with module structs and makes use of default field values. Next lesson, we’ll be ready to hook everything up and play the game.
The rationale for using a state machine in computer games was tic-tac-toe whiteboarding video.
Read next The (not so) Magic Tricks of Testing in Elixir (1/2)