Hey again, long time not writing here.
Today I want to share my Tic-Tac-Toe game.
A week ago I got a nice assignment, I was needed to create Tic-Tac-Toe
game with PHP while the important task is that the player won't be able
to win the game (which means computer wins or game is over with a
There was only one clue, "use MinMax algorithm". Since I wasn't familiar with MinMax algorithm I was need to read a bit about it (Wikipedia, and nice article by Paulo Pinto).
This was a nice task, and after I finished it I got some comments about "how to make it better", so I`v implement my changes which may be found on GitHub
You may try and play with my Demo
Hope it will help you somehow.