#bbcmicrobot $@%="4F1B5G9CH3EHA6I7B479B8DCF1E1D37BHEI6F85IA4CG2BGI6CED81834E72AFIIA74862ECE2FCI1847":ë2:X=0:Y=0:ÞC(2,12):ÞS(9,9)
û7:û132:ãI=0¸1:ãJ=0¸11ƈ3:P=³(3)-1:C(I,J)=P:Q=³(2):C(I,J+1)=(P+Q)ƃ3:C(I,J+2)=(P+3-Q)ƃ3:í,:R=³(2)-1
ãI=0¸8:ãJ=0¸8:Q=((C(R,I Ɓ3)*3+C(R,I+3))*9+(C(1-R,J Ɓ3)*3+C(1-R,J+3))):S(I,J)=@%?Q:í,
ãI=0¸8:ãJ=0¸8:N=S(I,J):M=N Ɓ16:ñƊ2*I,2*J);½((4-M)*(M>4)-N*(M=3)-32*(M=4));:í,
K=0:Z=0:õ
çK=1:Z=¦(0):X=(X+(Z=79)-(Z=80)+9)ƃ9:Y=(Y+(Z=69)-(Z=68)+9)ƃ9:çZ>48ƀZ<58:S(X,Y)=(S(X,Y)ƃ16)+16*(Z-44)
ï23,1,0;0;0;0;:N=S(X,Y):M=N Ɓ16:A=N ƃ16:û6-(M=3ƄA=M-4):û132+K:ñƊ2*X,2*Y);½((4-M-48)*(M>4)-N*(M=3)-32*(M=4));
K=1-K:ýZ=32:å20
I ran @bazzargh's program and got this.
Source: https://bbcmic.ro/?t=dS9Rb #bbcbasic

@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