A Tic Tac Toe AI with Neural Networks and Machine Learning

#artificialintelligence 

This article is my entry for CodeProject's AI competition "Image Classification Challenge"[ ]. My goal was to teach a neural network to play a game of tic tac toe, starting from only knowing the rules. Tic tac toe is a solved game. A perfect strategy[ ] exists so a neural network is a bit overkill and will not perform as well as existing programs and humans can. Described from a high level: when the AI needs to make a move, it iterates over all possible moves, generates the board after making a given move, and uses the neural network to see how good the position is after performing that move.