Hello, I'm back.
This is a game exactly like Minesweeper.
Press the arrow keys to move your selector thingy.
Press Clear when you think you have won.
Press Enter to chose a space.
:[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0][0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0][0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0][0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0][0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0][0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0][0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0][0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]]→[A] //sorry for the long matrix :)
:For(W,1,20
:1→[A](randInt(1,8),randInt(1,16
:End
:ClrHome
:8→X
:4→Y
:While 1
:getKey→K
:If not([A](Y,X)=2)
:Output(Y,X," "
:X(K=24 and X>1)+(K=26 and X<16)→X
:Y(K=25 and Y>1)+(K=34 and Y<8)→Y
:Output(Y,X,"O
:If K=105 or [A](Y,X)=2
:Then
:0→G
:If X>1
:Then
:If [A](Y,X1)=1
:G+1→G
:End
:If X<16
:Then
:If [A](Y,X+1)=1
:G+1→G
:End
:If Y>1
:Then
:If [A](Y1,X1)=1 //You might have to change Y1 to Y+1, I can't remember
:G+1→G
:End
:If Y<8
:Then
:If [A](Y+1,X1)=1 //You might have to change Y+1 to Y1, I can't remember
:G+1→G
:End
:If [A](Y,X)=1
:Then
:Pause "YOU LOSE
:Output(9,9,9
:End
:Output(Y,X,G
:2→[A](Y,X
:1→X
:1→Y
:0→G
:End
:If K=45
:Then
0→G
:For(H,1,16
:For(I,1,8
:If [A](I,H)=0
:1→G
:End
:End
:If G=0
:Pause "YOU WIN!
:Output(9,9,9
:End
:End
:End

What the community thinks:
For the first command, instead of that incredibly long matrix enter can you try this: ?
:
:{16, 16 > dim([A]
…that makes it so much easier…
This will do it as well, but is more reliable, because yours will not reset the Matrix to 0s if [A] had some values in before.
Wake me, when you need me.
it keeps coming up with a sythax on the first command. any help?(ti84+)
Make sure you are selecting [2ND][MATRX][A], not actually typing out [A].
Did I miss something? I'm unable to use the down arrow
(begginer here) where do I find the If not function
in the program editor, hit PRGM, then press enter to insert the If function. After that, hit [2ND] [MATH], scroll over to LOGIC, and select not(. hope this helps :)
Invalid dim?
Where are you getting the error?
Beginner here, invalid dim on the line "if not ([A](Y,X=2)"
That's supposed to be "If not([A](Y,X)=2)". Also make sure you are using the Matrix [A], not actually typing it in.
thanks! also, is it supposed to leave a trail of O's? Or are they supposed to stay on the cursor only? it makes it a bit confusing to see where you are.