Building Codeword: The Solver
After building Anarchy Chess, I wanted a daily word game to pair with it and landed on Codeword. A codeword starts with an open 13x13 crossword grid (around 120 white squares) with all of the clues removed. Instead, every white square carries a number from #1 to #26. Those numbers form a 1-to-1 substitution cipher for the alphabet: each number stands for one distinct letter from A to Z, all 26 letters appear somewhere on the grid, and typing L onto #2 fills every #2 square across the board.
Only two to four starter letters are revealed at the start, so cracking the rest is all about spotting word patterns and crossing letters. Under the hood, the Go CSP solver builds each day’s grids, checks that a human can deduce all 26 letters step by step without guessing, proves no second solution exists, and powers hints.




