the game start, and can randomly generate between 1-6 and move both players accordingly.
the player positions will not move until 3rd click, basically all the moves are 2 moves behind.
I will tried rewriting the conditioning statement, moving various pieces, but still not able to display the correct move after each click event.
the game start, and can randomly generate between 1-6 and move both players accordingly.
the player positions will not move until 3rd click, basically all the moves are 2 moves behind.
I will tried rewriting the conditioning statement, moving various pieces, but still not able to display the correct move after each click event.
https://github.com/JimmyJLin/Project-1/blob/160204/js/script.js