:ClrHome

:Output(5,8,"0

:A=5

:B=8

:Lbl 1

:Disp "DIRECTION ?"

:Prompt D

:ClrHome

:If D=4

:Output(A,B-1,"0

:If D=8

:Output(A-1,B,"0

:If D=6

:Output(A,B+1,"0

:If D=2

:Output(A+1,B,"0

:Output(A,B,"0

:Goto 1

So you see the idea is to put in variables for A and B, which are the coordinates for the "0". To get new coordinates, a number is plugged in. If it was "6", that means go right. So we add 1 to the B and it makes it go right. Now we have new variables and we display the "0" with the new coordinates.

Any help would be greatly appreciated. Here to answer questions. If possible, I'd like to keep the same format of code using prompts for new numbers and using numbers as arrow keys, etc.