This is, as well known, the game of tik tak toe. The goal is to get an alignment of 3 circles (horizontally, vertically or diagonally) while stopping your opponent, the AI, from making an alignment of crosses. You can choose if you start or not.
This is a perfect AI: if you hadn't realized, you cannot win. It looks at all possibilities before choosing the best one. It can take a little while when it starts but is otherwise pretty fast. There will be more to the AI series, this program is the first. Check out my other games! https://scratch.mit.edu/studios/31156643