I see you have implemented a simple "3D" game board for the 3D Tic-Tac-Toe game with 3x3x3 and 4x4x4 options. I played it and found some bugs in the win condition logic. It doesn't recognize diagonal wins that cross through all the layers. As a result a bot thinks it wins because it wasn't told the other player won.
Here are two examples saved as trials and screen shots: one is a long diagonal win connecting opposite corners of the cube, the other is a left face diagonal win connecting upper back corner with the lower front corner.
Oops! I now see that the rules say diagonals that cross layers are not recognized as wins.
Here is a different bug, regarding display of the win condition: in the unrecognized long diagonal win trial, it says player 2 won, but doesn't show the green dots in their vertical stack win (X) squares. This may be the case for all wins that cross layers.
Here are two examples saved as trials and screen shots: one is a long diagonal win connecting opposite corners of the cube, the other is a left face diagonal win connecting upper back corner with the lower front corner.
Oops! I now see that the rules say diagonals that cross layers are not recognized as wins.
Here is a different bug, regarding display of the win condition: in the unrecognized long diagonal win trial, it says player 2 won, but doesn't show the green dots in their vertical stack win (X) squares. This may be the case for all wins that cross layers.
Best Regards,
Woody
Woody