command line tic-tac-toe game with mini-max AI