I am working on a battleship game and tried to use a Matrix. What I am trying to do is store the position (Y, X) of the Character into the coordinates on a matrix and have a 1 or some number show up there. For example (I know that this isn't syntax) {Y,X}->[A] as a one. This would be the "map of where you shot". I am not sure how to do this! I looked on the Matrix page but didn't find an answer. Also, I was wondering if there was a way when the matrix is outputted that it could be compressed (to fit the size of the screen) and not have to scroll over to see the last few columns. Any advice that you have would be greatly appreciated.
If you want to see the game you can go to CalcNerd on Youtube. I am fairly new to this Ti-Basic community but am loving it!