@bbcmicrobot I should have thought this up before the Basic 10 liner competition, because it is _actually_ a 10 line game. When you press space, this really does generate new puzzles that it knows the solution to. Press the wrong number, and it knows you've made a mistake. But how?
Easy: every sudoku puzzle is also valid if you swap 3x9 columns, 9x3 rows, 1x9 columns within the same 3x9, 9x1 rows within the same 9x3, or transpose. That means I can use one puzzle to generate 6x6x6x6x6x6x6x6x2 of them! Well, easy-er, I just needed a few more tricks to fit it in, but
that's the root of it.
The base puzzle is the NYT "easy" one from a couple of days ago, so they should _all_ be easy.
#sudoku #retrogaming #bbcmicro #creativecoding #sudoku