This script does not know the strategies of Tic Tac Toe. After the first launch, the program creates a csv-file containing records of Tic Tac Toe games played out by chance. Then, the Neural Network helps AI to find the optimal moves. Can you beat the Tic-Tac-Toe-AI-with-Neural-Network? Good luck to you! 😜