In my AI class we used C++ to build a game with artificially intelligent agents... one of the prime reasons was that we were using vision (Webcam), and Microsoft offers huge libraries for vision and webcam management - the Windows Platform SDK and a whole lot of stuff... and all that integrated well with C++. Additionally the facts that C++ is object oriented (which facilitates state-driven game programming - one of the most widely followed paradigms in game development), and that it is faster than Java in mathematical calculations... lead me to set my choice as C++.