A simple console Tic Tac Toe game with a computer side playing as one of the players, running the minimax alghorithm with alpha-beta pruning.
Contains the main function and the game loop, as well as functions needed for the running of the game, namely for printing the field and checking the winner.
Asks the player for a move, and then makes sure the move can be played and is in the correct format.
Minimax function with alpha-beta pruning for the simulation of the best move for the solver (computer).
Simply run the game.py file using python inside your console or IDE.
python game.py