Hello everyone. I was just wondering what you think it takes to have a decent Ai? What type of game do you think is the hardest to make an Ai for?

I'm gonna ask for some help learning to create an effective Ai(or at least a decent one)after there are several posts. Thanks to everyone who posts.