Hi. The game doesn’t work for me on mobile sadly so I can’t offer any specific suggestions but in general I suggest you have two options…
The basic approach is to write some rules/ heuristics for your AI player (e.g. start with move X, if player does X then do Y, if condition X then do Y). You can probably distil some basics from your own strategy.
An advanced approach is to train a model using e.g. reinforcement learning to figure out it’s own policy of which actions to take given the game state. You can use a library like stable baselines for this. You may be lucky though to train your agents by pitching them against one another or you might have to teach them e.g. with the rules-based agent or by having them learn from human-vs-human games.
Hi. The game doesn’t work for me on mobile sadly so I can’t offer any specific suggestions but in general I suggest you have two options…
The basic approach is to write some rules/ heuristics for your AI player (e.g. start with move X, if player does X then do Y, if condition X then do Y). You can probably distil some basics from your own strategy.
An advanced approach is to train a model using e.g. reinforcement learning to figure out it’s own policy of which actions to take given the game state. You can use a library like stable baselines for this. You may be lucky though to train your agents by pitching them against one another or you might have to teach them e.g. with the rules-based agent or by having them learn from human-vs-human games.