For the Curious
About Me
What I Do
My Opinions
My Guestbook
For the Future
Resume
Portfolio
Education
For the Professors
My CIS 333 Page
My Greek Project

Go Home

Tic-Tac-Toe

If you have the inititive you can not lose


When I was younger I often played this mindless game for hours with my mother sometimes I would win and sometimes she would win, we would play winner gets the inititive (goes first), and many times we would tie. Ties are very common infact in the movie "War Games" the prodigy hacker beat the large artificial intelegence super computer by making it to play Tic-Tac-Toe with itself until it crashed, because it could not win. The following sets of examples prove that if you go first it is IMPOSSIBLE to not win.

Excuse the crude graphics once I get a graphics package I will make a non-text site of this demonstration.
Here is how it is Impossible to lose
Step one always pick the corner. I use the top left corner, but I have proven that this can be done from any corner.
Lets Play pick a box from where you want to start.


_X_|
___|___
___|___|___
___|___|___










You have selected the following opening move.
If you want to try another
go back.
_X_|_O_|___
___|___|___
| |


I will call the move you just made the "Top Middle Opener." My counter move will be in the middle square.

_X_|_O_|___
___|_X_|___
| |

Now since you have no choice you will have to go to the bottom right corner, or you will lose.

_X_|_O_|___
___|_X_|___
| | O

My next move will be in the bottom left corner
_X_|_O_|___
___|_X_|___
 X |   | O

The game is now over, you can move into either the left middle or top right squares but either way I have won.
_X_|_O_|___
_O_|_X_|___
X | | O
_X_|_O_|_O_
___|_X_|___
X | | O
_X_|_O_|_X_
_O_|_
X_|___
X | | O
_X_|_O_|_O_
_
X_|_X_|___
X | | O

If you want to try another square
go back.



You have selected the following opening move.
If you want to try another
go back.
_X_|___|_O_
___|___|___
| |

I will call the move you just made the "Top Right Opener." My counter move will be in the lower right corner.

_X_|___|_O_
___|___|___
| | X

This will then force you to block my move by putting your "O" in the center square.

_X_|___|_O_
___|_O_|___
| | X

Therefore I must now block your move, by placing an "X" in the bottom left corner

_X_|___|_O_
___|_O_|___
X | | X

This is where you become trapped. No mater which square you block I will win.

_X_|___|_O_
_O_|_O_|___
X | | X

_X_|___|_O_
___|_O_|___
X | O | X

_X_|___|_O_
_O_|_O_|___

X
| X| X

_
X_|___|_O_
_
X_|_O_|___
X
| O | X






You have selected the following opening move.
If you want to try another
go back.

_X_|___|___
_O_|___|___
| |


I will call the move you just made the "Middle Left Opener." My counter move will be in the top right corner.

_X_|___|_X_
_O_|___|___
| |
You will then be forced to put your "O" in the top middle square.
_X_|_O_|_X_
_O_|___|___
| |
I will then place my "X" in the middle square.
_X_|_O_|_X_
_O_|_X_|___
| |

This is where you become trapped. No mater which square you block I will win.

_X_|_O_|_X_
_O_|_X_|___
O | |

_X_|_O_|_X_
_O_|_X_|___
| | O

_
X_|_O_|_X_
_O_|_
X_|___
O | |
X

_X_|_O_|_
X_
_O_|_
X_|___
X
| | O




You have selected the following opening move.
If you want to try another
go back.
_X_|___|___
___|_0_|___
| |

I will call the move you just made the "Middle Opener." My counter move will be in the bottom right corner.

_X_|___|___
___|_0_|___
| | X

No mater which square you place your "O" in I will place my in the opposite corner (either top right, or bottom left.)

_X_|___|___
_
O_|_0_|___
O
| O | X

_X_|___|_X_
_
O_|_0_|___
O
| O | X

_X_|_
O_|_O_
___|_0_|_
O_
| | X

_X_|_
O_|_O_
___|_0_|_
O_
X | | X
This is where you become trapped. No mater which square you block I will win.

_X_|_
O_|_X_
_
O_|_0_|___
O
| O | X

_X_|___|_X_
_
O_|_0_|_O_
O
| O | X

_X_|_
O_|_O_
___|_0_|_
O_
X | O | X

_X_|_
O_|_O_
_O_|_0_|_
O_
X | | X

_X_|_
O_|_X_
_
O_|_0_|_X_
O
| O | X

_
X_|_X_|_X_
_
O_|_0_|_O_
O
| O | X

_
X_|_O_|_O_
_
X_|_0_|_O_
X
| O | X

_X_|_
O_|_O_
_O_|_0_|_
O_
X
| X | X


You have selected the following opening move.
If you want to try another
go back.
_X_|___|___
___|___|_O_
| |

I will call the move you just made the "Middle Right Opener." My counter move will be in the middle square.

_X_|___|___
___|_X_|_O_
| |

You will then be forced to place your "O" in the bottom right corner.

_X_|___|___
___|_X_|_O_
| | O

I will then be forced to place my "X" in the top right corner.

_X_|___|_X_
___|_X_|_O_
| | O


This is where you become trapped. No mater which square you block I will win.

_X_|_O_|_X_
___|_X_|_O_
| | O

_X_|___|_X_
___|_X_|_O_
O | | O

_X_|_O_|_
X_
___|_
X_|_O_
X
| | O

_
X_|_X_|_X_
___|_X_|_O_
O | | O



You have selected the following opening move.
If you want to try another
go back.


_X_|___|___
___|___|___
O | |

I will call the move you just made the "Bottom Left Opener." My counter move will be in the bottom right square.

_X_|___|___
___|___|___
O | | X

You will then be forced to block me in the middle square

_X_|___|___
___|_O_|___
O | | X

I will be forced to block you in the top right square.

_X_|___|_X_
___|_O_|___
O | | X

This is where you become trapped. No mater which square you block I will win.

_X_|_O_|_X_
___|_O_|___
O | | X

_X_|___|_X_
___|_O_|_O__
O | | X

_X_|_O_|_X_
___|_O_|_X_
O | X | X

_X_|_X_|_X_
___|_O_|_O_
O | | X


You have selected the following opening move.
If you want to try another
go back.
_X_|___|___
___|___|___
| O |

I will call the move you just made the "Bottom Middle Opener." My counter move will be in the top right corner.

_X_|___|_X_
___|___|___
| O |

You will then be forced to block my move by placing the O in the top middle square.

_X_|_O_|_X_
___|___|___
| O |

I will then block you in the middle square.

_X_|_O_|_X_
___|_X_|___
| O |

This is where you become trapped. No mater which square you block I will win.

_X_|_O_|_X_
___|_X_|___
O | O |

_X_|_O_|_X_
___|_X_|___
| O | O

_
X_|_O_|_X_
___|_
X_|___
O | O |
X

_X_|_O_|_
X_
___|_
X_|___
X
| O | O



You have selected the following opening move.
If you want to try another
go back.

_X_|___|___
___|___|___
| | O

I will call the move you just made the "Bottom Left Opener." My counter move will be in the top right square.

_X_|___|_X_
___|___|___
| | O

You will be forced to block me by placing your "O" in the top middle square.

_X_|_O_|_X_
___|___|___
| | O

I will then place my "X" in the bottom left square.

_X_|_O_|_X_
___|___|___
X | | O


This is where you become trapped. No mater which square you block I will win.

_X_|_O_|_X_
___|_O_|___
X | | O

_X_|_O_|_X_
_O_|___|___
X | | O

_
X_|_O_|_X_
_
X_|_O_|___
X
| | O

_X_|_O_|_
X_
_O_|_
X_|___
X
| | O