Flat Cube $23658j\,8:set caps lock goes=0 1:1:7:  22 8:f=07:f;9 ;f;"THE FLAT CUBE":f ?f=70-1:f;9 ;f;"THE FLAT CUBE":f  @10 :20,0;"Do you require instructions y/n." "Y"Ʀ"N"24 !="Y"6000p:instructions ,10 :#1;"DIFFICULTY (1 TO 9) ?" #d$=:d$=""35# (d$<"1"d$>"9"35# - di=d$ 2di=di*10 F1000:draw board Pnor=400:inv=0 Z3000 :scramble board d----MAIN LOOP---------- igoes=goes+1 k(#1;0,0;"Move ";goes nK1,1;" Letter & No. ";m$:m$>3űm$<2110n x;l$=m$(1):m$=m$(2):l$<"A"l$>"T"110n m$<"1"m$>"9"110n x=l$-63?:y=m$ 2000:change screen 4nor=400inv=4005000:completed 100d --------SCREEN---------  :0 %6;" ABCDEFGHIJKLMNOPQRST " f=120 f<10 6;" "; S6;f;7;"++++++++++++++++++++";6;f;:f<10 6;" ";  f %6;" ABCDEFGHIJKLMNOPQRST "  7  -------CHANGE SCREEN-- [(y,x)=568y,x;7;0;"+":inv=inv+1:nor=nor-1:2030 O(y,x)480y,x;0;7;"+":nor=nor+1:inv=inv-1 k(y,x+1)=568y,x+1;7;0;"+":inv=inv+1:nor=nor-1:2040 _(y,x+1)480y,x+1;0;7;"+":nor=nor+1:inv=inv-1 k(y,x-1)=568y,x-1;7;0;"+":inv=inv+1:nor=nor-1:2050 _(y,x-1)480y,x-1;0;7;"+":nor=nor+1:inv=inv-1 k(y+1,x)=568y+1,x;7;0;"+":inv=inv+1:nor=nor-1:2060  _(y+1,x)480y+1,x;0;7;"+":nor=nor+1:inv=inv-1  k(y-1,x)=568y-1,x;7;0;"+":inv=inv+1:nor=nor-1:2070 _(y-1,x)480y-1,x;0;7;"+":nor=nor+1:inv=inv-1 {(y-1,x-1)=568y-1,x-1;7;0;"+":inv=inv+1:nor=nor-1:2080  o(y-1,x-1)480y-1,x-1;0;7;"+":nor=nor+1:inv=inv-1  {(y+1,x-1)=568y+1,x-1;7;0;"+":inv=inv+1:nor=nor-1:2090* %o(y+1,x-1)480y+1,x-1;0;7;"+":nor=nor+1:inv=inv-1 *{(y+1,x+1)=568y+1,x+1;7;0;"+":inv=inv+1:nor=nor-1:21004 /o(y+1,x+1)480y+1,x+1;0;7;"+":nor=nor+1:inv=inv-1 4{(y-1,x+1)=568y-1,x+1;7;0;"+":inv=inv+1:nor=nor-1:2110> 9o(y-1,x+1)480y-1,x+1;0;7;"+":nor=nor+1:inv=inv-1 > -----SCRAMBLE---------- f=1di 2x=(*20)+2:y=(*20)+1 2000 f  ------COMPLETED-------- f=030.3 %.003xD,f:.003xD,f+10 f :10 ,3;7;5;1;1;"YOU'VE DONE IT BRAINY":15,0;"DO YOU WANT TO HAVE ANOTHER GO?" A12 ,4;"IT TOOK YOU ";1;goes;0;" goes" =""5050 ="Y"1  oinstructions p z"5;"*********************" "5;"* THE FLAT CUBE *" %5;"*********************"''' "Flat Cube is a 2D Rubik's Cube. The board has a 20x20 grid of plus signs. The Spectrum will select one of these at random & invert it and its 8 neighbours. This process is repeated a number of times according to thedifficulty level." ''"Your simple"; !i=16:8;:i _1;"______";0;" task is to return the board to its original state i.e. blank." 420,5;1;"PRESS ANY KEY TO PLAY" %="".1}L,10 :6090 #i=120:.1}L,i:i