The spaces array included a space that was not included in the DOM representation of the board, and when it didn't find it there, it exited the function prematurely. I have now rewritten the JavaScript to update the value of the spaces array with an array that excludes any space not in the DOM, and this has fixed the problem with moving in Hex Shogi 91.
The spaces array included a space that was not included in the DOM representation of the board, and when it didn't find it there, it exited the function prematurely. I have now rewritten the JavaScript to update the value of the spaces array with an array that excludes any space not in the DOM, and this has fixed the problem with moving in Hex Shogi 91.