Well-known game for two players, who take turns marking the spaces in a 3×3 grid. The player who succeeds in placing three of their marks in a diagonal, horizontal, or vertical row is the winner. In this version you play the game with AI as your opponent.
Implementation of AI is quite simple: it is not the most efficient one (recursive) and does not provide a shortest solution all the time, but still gives you no chance to win. You start first. Link under the game grid can show you the best move, but, again, do not expect to be a winner in this game with AI. Draw is the best what you can make.