與更廣泛的應用和移動設備的功能改進，java手機，隨著它的日益普及，是時代的到來，作為一個游戲平臺java 2微型版（J2ME），由于其java特性的“一次編寫，到處運行”，得到了越來越多的關注[ 1 ]。當今世界，手機的功能設計已經成為一種交流工具，已經取得了難以想象的進步。因此，通過選擇基于J2ME的五子棋作為報告的標題，我一方面可以嘗試我一直熱衷的手機游戲，另一方面也可以實踐我多年來獲得的計算機知識[ 2 ]。計算機的迅速發展豐富了計算機游戲。像Gobang這樣的棋類游戲深受我們的思考能力和智力的鼓舞，是哲學的結晶，是我們自我修養的受益者。這些游戲也為象棋愛好者們提供了一個機會，讓他們在任何時候都能找到能與自己競爭的游戲玩家。
戈邦既有現代休閑的顯著特點，又有短、普、快的特點，同時也充滿了對楊和世界兩大基本原則的變化的博學。Gobang很容易打球，贏得了大眾的青睞[ 3 ]。然而，其深奧的技術卻列入了高水平的國際事件。歷史悠久的棋文化充斥了東方的神秘與西方的直率。在戈邦，不僅有一個領域的概念，而且還有許多要點[ 4 ]。
With the wider application and improvement of the Java functions of mobile devices, mobile phones, with its increasing popularity, is coming of age as a game platform Java 2 Micro Edition(J2ME),due to its Java characteristic of “Write once, run anywhere”, is gaining more and more attention . In today’s world, the function design of mobile phones has made unimaginable strides from just being a tool for communication. Thus, by selecting design and application of J2ME-based Gobang as the title of the report, I can on the one hand have a try at the mobile phone games which I am always passionate about, and on the other hand I can put into practice my knowledge of computers acquired over the years . The rapid development of computers has enriched the computer games. Board games like Gobang are well-received for being a booster for our thinking capability and intelligence, and being philosophy-ridden and beneficiary for our self-cultivation. These games can also offer an opportunity to the chess enthusiasts longing to find someone to rival with to enjoy themselves fully at any time.
Gobang boasts not only the salient characteristics of modern leisure, being short, common and fast, it is also imbued with the erudite learning of the changes of Yin and Yang, the two fundamental principles in the world. Being easy to play, Gobang wins the favor of the general public . However, its abstruse technique lists itself into the high-level international events. The time-honored chess culture is redolent of the oriental mystery and occidental directness. In Gobang, there is not only the concept of a field but also the numerous points .
This report aims to develop a viable artificial intelligence Gobang for mobiles based on the J2ME technology. The procedure will implant into the mobiles the classical game for all ages, and provide the application software for the more popular hardware platform. Gobang is based on the programming through JAVA platform to meet the entertaining needs of ordinary mobile users. Developed in the J2ME environment through WTK 2.5 and simulator, and compared and learning from the games of its kind, Gobang of the man-computer fighting version came into being. The developing structure of the game is related to the design of the driving, class structure and procedure of the game. The chess winning patterns and offensive and defensive strategies have been discussed in order to achieve the logic calculation to increase the intelligent nature of the game. Among them, the design of the logic calculation is the key and difficult point of the whole game design.
In today’s world, the function design of mobile phones has made unimaginable strides from just being a tool for communication. In addition, with the wider application and improvement of the Java functions of mobile devices, mobile phones, with its increasing popularity, is coming of age as a game platform. Furthermore, this report aims to develop a viable artificial intelligence Gobang for mobiles based on the J2ME technology. The report adopts target-oriented design model in its research and practice, and endows all objects with the concept and attribute of the target. Finally, the report is to solve the problem about how to lower the development cost yet improving the development efficiency of the mobile phone games by applying suitable software engineering method to the development of these games.