I think AI is the hardest. It's (you think anyway) easy to code, but you need to iron out all the bugs! Even worse in 3D games!!