Implementing Quarto

Barrett Helms
Salesloft Engineering
Aug 9, 2022

Kudos to you if you’ve ever heard of the Quarto board game. It’s like tic-tac-toe for adults. Sixteen different pieces on a four-by-four grid. You win with four in a row of the same type. The killer feature is that you pick the piece your opponent must play. This sounds like a fun game to write with code. Let’s use Rust for the AI and Elixir for the UI (so we can play with LiveView). Are you ready?

--

--