PHP Classes

AI PHP Tic-Tac-Toe: Process two-player moves of a Web Tic-Tac-Toe game

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2023-09-17 (1 month ago) RSS 2.0 feedNot yet rated by the usersTotal: 54 This week: 2All time: 10,476 This week: 46Up
Version License PHP version Categories
tic 1.0The PHP License7HTML, Algorithms, Games, Artificial i..., P...
Description 

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.

Picture of Ahmed Abdulla
  Performance   Level  
Name: Ahmed Abdulla <contact>
Classes: 10 packages by
Country: Bahrain Bahrain
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
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 )

 Version Control Unique User Downloads Download Rankings  
 0%
Total:54
This week:2
All time:10,476
This week:46Up