If you want the computer to start the game, please make following change in Const object(/libs/Position.js):
TURN : this.COM
Prize: One copy of the Zend Studio
|Tic-Tac-Toe is a very simple game. However, it is not trivial to implement a strategy to win as a computer opponent.
This class implements the alpha beta search algorithm to determine the next move of a computer opponent in a Tic-Tac-Toe game.
||Not yet rated by the users
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.