I have a general idea on how I want to do this. (Creating a matrix and having random values assigned to create mines..)

Although; i'm not sure how i'd make a cursor..

Have you any ideas on how I could make a cursor for said matrix? (This will be on the homescreen. "X" being the cursor.)

you will scroll the user through getKey and save the coordinate of the cursor, then just use output to show an x right at the coordinates of the coordinates:

`Output(A,B,"X`

Get futuristicOS 8 for your TI-84+

Learn more about futuristicOS 8

Now I knew that much :P

I was wondering, since I was using a matrix for the homescreen, how I would check the cursors' coordinates with the matrix-mines coordinates..

Well, A and B would match up to the coordinates (I think it's (A,B)?). However if the field is bigger than the screen, your output can't be exactly A and B, it has to be something like remainder(A/8)+1 and remainder(B/16)+1 and you would remap the screen 8 blocks down or up or 16 blocks left or right.

*The Silver Phantom welcomes you*

How would I go about checking adjacent spaces in the matrix, and placing their values after clicking on a specific space?

I'm a bit confused by what you asked, can you give an example?

Here is an existing minesweeper program on the site

http://tibasicdev.wikidot.com/archives:minesweeper

I haven't seen file file since I'm on an ipod but it should cover everything.

*The Silver Phantom welcomes you*

Okay:

If I were to place the cursor over a space on the homescreen (Which is the field), and after I click on said space, it should check all adjacent spaces next to it. If they are close to a mine, it would display the number of how many mines are adjacent to it, however; if there are no adjacent mines, display 0 and continue onto the next adjacent space for it to do another check.

That would be a bit slow especially for something timed like this game, you want to preload all the numbers and the whole map before you play. It would be on the same matrix as the mines map. What you can do is something similar to this:

First you will need to establish a temporary matrix with the same dimensions as the map. Then you can start mapping numbers.

N is the number assigned for the mines (can't be any number between 0 and 9 (including)

[A] is the one with the mines

[B] is the temporary one

([A](A+1,B)=N)+([A](A-1,B)=N)+([A](A+1,B+1)=N)+([A](A+1,B-1)=N)+([A](A-1,B+1)=N)+([A](A-1,B-1)=N)+([A](A,B+1)=N)+([A](A,B-1)=N)→[B](A,B

This won't work for the sides though, I'm at school right now so I'll come back later

And you will combine the two.

[A]+[B]→[A]

And that's your new map

*The Silver Phantom welcomes you*