A board game night with geeks
summary
Asks whether Quarto can end in a draw and answers yes: encodes the 4x4 game as Boolean variables, generates constraints (no four-in-a-row, all 16 pieces distinct), transforms to CNF/DIMACS with an F# library and a small C generator, and runs a SAT solver to get concrete board assignments. Brute force would take ~90 hours; the solver finds a solution in about one second. Explains unit resolution and watched literals and publishes code on GitHub.
AI-written summary · about
chapters (12)
- 0:00The Quarto board game
- 2:17Brute force limitations
- 4:05Automated reasoning
- 6:33Boolean logic basics
- 9:28Modeling Quarto as SAT
- 13:03Internal workings of solvers
- 16:58Unit resolution explained
- 21:05Optimization with watches
- 25:46Data format transformation
- 31:07Results and findings
- 34:59Real-world applications
- 37:35Summary and Q&A
