My partner and I chose for our topic to be Matrices in Computer Science for a project in our linear algebra class. We decided to mainly focus on how matrices can be used to store data and transform it. An example that we chose was using a matrix to store the position of each chess piece on a chess board in a matrix. The matrix is as shown below. However, we realized that we did not know how to move a single chess piece using linear algebra concepts. Let's say I wanted to move a single pawn (1 on in the matrix). How would I go about doing that? Is there a transformation that I could do to the matrix that would keep everything else intact but reposition the pawn in the matrix? And how would I go about moving every other piece as well? Any help would be appreciated.
$\begin{bmatrix} 9 & 8 & 10 & 11 & 12 & 10 & 8 & 9 \\ 7 & 7 & 7 & 7 & 7 & 7 & 7 & 7 \\ 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 \\ 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 \\3 & 2 & 4 & 5 & 6 & 4 & 2 & 3 \\ \end{bmatrix}$