TicTacToe game with GUI and AI