Skip to content

A PHP implementation of TicTacToe game using AI (MiniMax algorithm)

Notifications You must be signed in to change notification settings

BennyThadikaran/TicTacToe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

TicTacToe (with AI)

A PHP implementation of TicTacToe game inspired from Odin Project

  • Supports PHP 7 and above.
  • Plays on the command line.
  • Play against computer bot or human player.
  • A user interface that's easy to grasp for non programmers.

Usage

# git clone https://github.com/BennyThadikaran/TicTacToe.git

cd TicTacToe;
php index.php;

About Bot AI

The AI class uses MiniMax algorithm to maximize chances of winning. Worst case scenario, the game results in a draw.

About

A PHP implementation of TicTacToe game using AI (MiniMax algorithm)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages