Skip to content
An Artificially Intelligent program designed to play Tic Tac Toe against a human and is completely unbeatable.
C++ C
Branch: master
Clone or download
Latest commit 836a06f Jun 3, 2016


Type Name Latest commit message Commit time
Failed to load latest commit information.

Unbeatable Tic Tac Toe AI

This is an Artificial Intelligence Program designed to play the game of Tic Tac Toe against a human and it never loses! The game ends up being either a draw or a win for the computer. It has been coded such that the computer is so smart, it is impossible for the human to beat my AI.

I would appreciate it if you could provide constructive feedback on how can I remove redundant code (if there is), make it faster, more readable or really any improvements you can see!

Download Instructions

Clone the repository or download the zip and run AI_TicTacToe.exe . Thats all!

Some Features

Human Player can go first or let the computer play the first move.
Well designed interactive text-base interface present.
Player can never win against this AI.

You can’t perform that action at this time.