This is a tic tac toe game for Computer vs. Human. Computer uses minimax algorithm to calculate best move.
The scoring strategy was inspired by this great explanation: https://www.geeksforgeeks.org/minimax-algorithm-in-game-theory-set-3-tic-tac-toe-ai-finding-optimal-move/
python3 game.py