/unbeatable-tic-tac-toe

A tic tac toe game with an AI that you just can't beat

Primary LanguagePython

Unbeatable Tic Tac Toe

Preview

How To Run This Program

First, make sure Python 3.7+ and pip are installed on your computer.

Then install the Numpy module :

pip3 install numpy

Now run the program with the following command :

python Main.py

Description

This is a tic tac toe game where the player can't ever hope to win against the AI. The program uses the Minimax algorithm to determine what are the best moves for the AI to play in order to prevent the player from winning.