/tic-tac-toe

Primary LanguagePythonApache License 2.0Apache-2.0

# ABOUT COMPUTER PLAYER
There are 3 levels of computer player

LEVEL 1:-
This Level chooses random position from available moves

LEVEL 2:-
This level's priority is to make a winning move and second priority is to block human player from winning

LEVEL 3:-
This level uses minimax algorithm to predict the best move which makes it unbeatable

# HOW TO USE:-
To use this you main.py have python3 installed in your device.
If you have python already installed in your device, open your terminal.
Go to the directory where you have your game.
Type cd and followed by your directory  to get into it
After you are in the right directory, type the following command to run the game:-
Python main.py

If you don't have python installed on your device you can use tictactoe.exe

NOW HAVE FUN!

If you like my work just give me a star!