so, I'm making a card game and now I'm at the part where I write the enemy AI. For now, the only way to write the AI that I can see is to make several events so that the enemy can pick the action depending on the condition.
But if I do it like this, I'm afraid there won't be a randomness to the enemy AI. I know that this will likely lead to making enemy patterns, but I also want to add a bit of randomness in it.
I'm curious on how others make this kind of AI in their game? Thanks.