Author
This package can process two-player moves of a Web Tic-Tac-Toe game.
It provides a script that can display a board of the Tic-Tac-Toe game that one person can play in turns against the machine.
The board will start with a three-by-three grid with buttons the human player can use to tell his moves.
The script processes the human player moves, executes the machine side player moves using the Minimax algorithm with Alpha-Beta pruning, then updates the board, checks if the game ended either when one player wins, or there is a tie, displays a message in case the game ended, and lets the human play start a new game.
File | Role | Description |
---|---|---|
Accessible without login Plain text file index.php | Appl. | a simple PHP script for a two-player Tic-Tac-Toe game ( AI ) |
Add link image If you know an application of this package, send a message to the author to add a link here.