Morphix v0.2.0 released, now with even better atomorphification! The (not so) Magic Tricks of Testing in Elixir (1/2)

Alchemist Camp L9: Game state machine

https://youtu.be/elBAk6iZ2fc

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.