Topic: Let's see how to build an unbeatable Tic Tac Toe AI in Construct 3
There are different ways to do it but this is my approach. You are welcome to comment with a better approach. Everyday is a learning :)
The unstoppable Tic Tac Toe AI is explained with two scenarios
1. The regular XOs, where one player will fill three Xs and the other will three Os to win the game
2. POP model, either of the players will have to fill the grid with POP. In this game, I have set it to XOX as I don't have P. Each player will start with either P or O but their letter will automatically change to O or P in the next turn. If they have added P then in their turn they will add O.
We would love to develop games for you.
Stop Playing
Start Building
With Shepherd Games, you can develop and publish your games. You own 100% ownership of the game and it's source code.
Setup a project with me on the Upwork - upwork.com/freelancers/~01e84ad4d80a736f6e