Login   Register  
PHP Classes
elePHPant
Icontem

Tic-Tac-Toe: Tic-Tac-Toe game using alpha beta search algorithm

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Amin Saeidi
Name: Amin Saeidi is available for providing paid consulting. Contact Amin Saeidi .
Classes: 5 packages by
Country: United States United States
Age: 26
All time rank: 29531 in United States United States
Week rank: 115 Up8 in United States United States Up
Innovation award
Innovation award
Nominee: 2x

Winner: 1x


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This package implements an interactive Tic-Tac-Toe game

It can present a Tic-Tac-Toe board that is updated using AJAX requests upon each user move.

The package implements the alpha beta search algorithm (Minimax search optimized by performing alpha beta pruning) for determining the next move, which are common algorithms for zero-sum two player games (e.g. Tic Tac Toe and Chess).

  Classes of Amin Saeidi  >  Tic-Tac-Toe  >  Download Download .zip .tar.gz  >  Support forum Support forum (12)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Tic-Tac-Toe
Base name: tic-tac-toe
Description: Tic-Tac-Toe game using alpha beta search algorithm
Version: 1.0
PHP version: 5
License: GNU General Public License (GPL)
All time users: 3709 users
All time rank: 819
Week users: 9 users
Week rank: 145 Up
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image Algorithms Numerical and statistical algorithms View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Games Sports and online games View top rated classes
Group folder image Artificial intelligence Automation of tasks using human-like intelligence View top rated classes


  Innovation Award  
PHP Programming Innovation award winner
December 2010
Winner


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.

Manuel Lemos

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (92%) Good (92%) Good (87%) Good (97%) Good (80%) - Good (82%) 2
Month: Not yet rated by the users

  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Files folder imagelibs (4 files)
Files folder imagetest (2 files)
Plain text file Board.php Class board class
Accessible without login Plain text file COPYING.txt Lic. GPL
Plain text file GameSearch.php Class abstract search class
Accessible without login Plain text file index.html Data example
Accessible without login Plain text file index.php Example
Accessible without login Plain text file README.txt Doc. Read me
Plain text file TicTacToe.php Class main class

  Files folder image Files  /  libs  
File Role Description
  Accessible without login Plain text file jquery-1.4.2.js Data js library
  Accessible without login Plain text file Position.js Data js library
  Accessible without login Plain text file raphael-min.js Data js library
  Accessible without login Plain text file TicTacToe.js Data js library

  Files folder image Files  /  test  
File Role Description
  Accessible without login Plain text file BoardTest.php Test test
  Accessible without login Plain text file TicTacToeTest.php Test test

Install with Composer Install with Composer - Download Download all files: tic-tac-toe.tar.gz tic-tac-toe.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.