| With the development of computing capacity and wireless access to Internet, mobile games have begun to play an important part in the entertainment of public. Action game, because of the unique gameplay, is welcomed by a big number of players. Although the development of action game is fully developed on console, but as for mobile devices, developers are still lack of experience, especially in fighting system. On consideration of heated market competition and limitation of both device performance and connection condition, we must deal it with an effective mechanic.The project mentioned in this paper is based on the article writer’s work during her internship. It is an online fighting game, which allows fights between players and NPCs under the control of game AI and player themselves. Besides, the game supports real players fight against each other to win the title of champion. The former similar projects in the company are involved in troubles caused by inelegant design of battle system. Some of them are not as extensible as expected, while others may pause if the connection is unstable. We try to build up a new structure of AI to avoid problems above.After prudent thinking, the project is realized with a there-layer structure. The client is developed with Adobe Flash and an engine named N which is developed by the company where the writer worked. The former is for UI and the latter for graphics processing. As for game logic, the writer, who proposes an extensible state machine based on strategies, is involved in fighting system and part of growth system. The server is built by twisted and the NoSQL DB, radius. The article makes contribution as following:First of all, it describes and analyzes the requirements of mobile action game and compares them with traditional similar games on PC or console platform. In addition, it also refers the requirements beyond function, such as performance, extensity and so on.Secondly, based on the requirements analysis and early Al technology, the writer builds a reformed AI that is designed for mobile games, and offers both general and detail design.Thirdly, with the requirements and design details, the article proposes a solution of the game, which is a new try of mobile action game design. |