It's good to know it's not just me being dumb. I imagine it's not an easy task to make AI work seamlessly with game mechanics.