Code throws an out of bounds error when trying to execute a move where the piece goes off the top of the board at the end of a game.
Code throws an out of bounds error when trying to execute a move where the piece goes off the top of the board at the end of a game.