Starting off, let me declare, the logic of the game appeared rather simple at first but testing all conditions are complicated. Hopefully through this post I can clarify to myself how the game works. The output should be a continuous stream of moves and printing the board after every move. The program will continue to …