With the development of computer hardware and software system, especially the development of 3D graphics technology, which greatly enhances the image of the computer game software, artificial intelligence is relative lagging and become the bottleneck that restrict the improvement of game performance. Real-time nature of computer games asks artificial intelligence computing occupy as less system resources as possible so as to provide sufficient resources to other modules of the game.After overview of the software architecture of game engine, this paper first summarizes some artificial intelligence methods the game often use but no documented; then the expansion and optimization of the game software and discusses the method of its integration with other game software module. Motion control of the game role and path planning technology are discussed in depth. Second, the artificial intelligence technology may be used in the game may to a higher level are discussed. Later, through the analysis of specific cases, way and the possibility of the learning and adaptive artificial intelligence in the game software are discussed.