Tic Tac Toe
Tic Tac Toe
Tic Tac Toe
2. Current Scenario
3. System Functionality
4. Algorithm
5. Pseudocode
6. Future Enhancement
7. Reference
Introduction
Tic Tac Toe, very popular and easy to play.
Rules for tic tac toe game is simple enough that we don't need an
elaborate analysis of game configurations.
Despite being a simple game, the basic AI principles shown here can be
applied to more complicated games such as checkers, Go and even
chess.
Present Scenario
• Many versions of tic tac toe like 3x3, 4x4 and even 9x9.
NO Check Yes
winning
point
Check
winning Take
move Yes move
for User
Take move
NO
Check
corner
space Yes
Take move
NO
Check Ask
Center User
to
NO Yes take
Take move move
Check
Side
NO
Yes
Check Take move
diagona
l for (X)
Yes
NO Check
diagona
l for (0)
NO System
wins
Game is
draw
Yes
User
wins
End
Functionality
• How to play Tic-Tac-Toe game?
• Jason Fox. 2017. Tic Tac Toe: Understanding The Minimax Algorithm. [ONLINE] Available at:
http://neverstopbuilding.com/minimax. [Accessed 11 January 2017].
• How to use Minimax's algorithm to make a Tic-Tac-Toe - Quora. 2017. How to use Minimax's
algorithm to make a Tic-Tac-Toe - Quora. [ONLINE] Available at: https://www.quora.com/How-do-I-
use-Minimaxs-algorithm-to-make-a-Tic-Tac-Toe. [Accessed 10 January 2017].
• The Ludologist. 2017. 255,168 ways of playing Tic Tac Toe – The Ludologist. [ONLINE] Available at:
https://www.jesperjuul.net/ludologist/255168-ways-of-playing-tic-tac-toe. [Accessed 6 January
2017].