DXF
GHI
If you are at X then you just have to count the letters around it. If either coordinate is <0 or >9 then it's off the board.
I have the first part of my code figured out, but I don't know how to count the neighbors and I don't know how to make sure that everything stays within the board (10 by 10 grid).
I really appreciate any help I can get.
Thank you