Design and implementation of mobile phone games based on J2ME
- Author
- MaPengQiang
- Advisor
- FangJian , WuZuo
- School
- University of Electronic Science and Technology
- Major
- Software Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 285
- Citations
- 0
Abstract
With the popularity of mobile phones in China, Java functionality on mobiledevices, mobile value-added services generated by the Java application gradually reflecttheir influence, the software development of mobile games software industry in arapidly developing new force. Phone performance is gradually enhanced, and cell phoneas a portable gaming platform becomes more mature. Electronic games have becomeone of the whole world the most popular form of entertainment, which combines manykinds of high entertainment, athletics, science and technology, simulation andentertainment elements in one. Pioneer of electronic games, interactive entertainmentindustry in the21st century, the rapid development of the latest sunrise industry, tobecome the new hot spot for growth in the global IT industry. Consumer electronicsapplications, J2ME (Java2Platform, Micro Edition) devices, intelligent, diversificationprovides a revolutionary solution, in recent years with a variety of different devices,especially mobile communications equipment rapidlythe development of the birth of anew development technology.This paper focuses on the application of J2ME technology, developing a free cellphone game with artificial intelligence. This procedure will be the classic works of allages come to cell phones, the hardware platform for the more popular softwareapplications. Backgammon game is based on JAVA platform to write, to meet theentertainment needs of the general mobile phone users.The design is based on the J2ME development environment for the development ofWTK2.5and the simulator tool, and similar games of the same type of comparison andreference, was developed to Gobang Battle Edition phones.This game involves the game development framework for the driver, class structureand process design, as is the man-machine gaming, it also won the chess-type andoffensive and defensive strategies were discussed to achieve logic algorithm designed toenhance the game of intelligence. Among them, the logic of algorithm design is theemphasis and difficulty in game design. The game interface is simple, but the size of theboard more flexible and humane, based on different mobile phones automatically adjust the screen size; the game supports both keyboard and also supports pointermanipulation; game, players can choose the upper hand, board size.
Table of contents
Summary 4-5
ABSTRACT 5-10
first chapter 10-19
1.1 Development Background 10-12
1.1.1 social background 10
1.1.2 game background 10-11
1.1.3 development Platform background 11-12
purpose and significance of 1.2 mobile game developers 12-13
1.2.1 development purposes meaning 12
1.2.2 developed 12-13 <br / > Status 1.3 mobile game developers 13-15
1.4 Research Methods 15-16
1.5 development environment and related technologies 16-18
1.5 .1 J2ME development platform and related technologies 16-18
1.5.2 WTK 2.5.2 and integrated development environment 18
1.6 in this study features and innovations 18-19
The second chapter analyzes 19-23
2.1 feasibility Analysis 19-20
2.2 related technical analysis 20 - 21
2.3 basic Requirements Analysis 21-22
2.4 overall design analysis 22-23
Chapter III game design 23-31 <br / > 3.1 game preparation 23
3.2 game interface and event -driven design 23-25 ??
3.2.1 game interface design 23-24
3.2.2 event-driven design 24-25
3.3 game design class 25-26
3.4 game flow design 26-27
3.5 games algorithm design winning combinations 27-30
3.5.1 seek backgammon 27-28
3.5.2 design wins chess type 28
3.5. 3 attack and defense 28-29
3.5.4 some kind of specific design 29-30
3.6 Summary 30-31
fourth Chapter games achieve achieve 31-85
4.1 master class 31-34
4.1.1 constructors and softkeys statement 31-33
4.1.2 softkey event processing 33-34
4.1.3 change program status achieve 34
4.2 game help and introduce a form class 34-36
4.3 game settings to achieve class 36-44
4.3.1 chessboard size selection 37-38
4.3.2 upper hand select 38-39
4.3.3 difficult choice 39
4.3.4 create a set form 39-41
4.3.5 store and load the default option 41-44
4.3.6 Get form parameters achieve 44
4.4 pawn class ranks positions 44-46
4.4.1 pawn 44-45 <br / > 4.4.2 initialization three ways pawn position 45-46
4.4.3 modify pawn position 46
4.4.4 checking cross-border 46 <br / > 4.5 Battle achieve logic class 46-70
4.5.1 constructor and pass parameters 46-49
4.5.2 build data structures 49
4.5.3 Lazi and undo 49-51
4.5.4 basic detection method 51-55
4.5.5 The two sides Lazi 55-56
4.5.6 detection Wuzilianzhu ( game over ) 56-58
4.5.7 logical achieve 58-70
4.6 game canvas class 70-82
4.6.1 constructors 70-72
4.6.2 screen rendering 72-78
4.6.3 new start and software layout 78-80
4.6.4 prompt string 80-81
4.6.5 user input 81-82
4.7 games adaptive and portability design and realization 82-84
4.8 Summary 84-85
Chapter V game testing and release 85-92
5.1 virtual machine platform test 85-89
5.2 mobile platform test 89
5.3 game performance analysis and optimization improvements 89-91
5.3.1 performance Analysis 89-90
5.3.2 improved optimization 90-91
5.4 Summary 91-92
Chapter VI Conclusion 92-94
6.1 summarizes 92
6.2 Prospects 92-94
Thanks 94-95
References 95-97
Related dissertations
- Design and Implementation of mobile game based on J2ME platform
- The Design and Implemention of Mobile Game Tank Battle Based on Cocos2d-x
- Design and Development of Mobile Game in Learning Model
- Research and Application of Bluetooth-based Mobile Online Game Based on J2ME
- The Research and Realization of 3D Graphics Engine on Mobile Phone.
- Study and Practice on Machine Self Learning of Game-playing
- Research and Implementation of Mobile Game Engine Based on JAVA
- Design and Implementation of Mobile Game Based on J2ME Platform
- The Application and Research on Wireless Data Increment Service Based on J2ME
- KJAVA the design and development of mobile games
- J2ME-based mobile game design
- Design and Implementation of a high-speed mobile phone platform based 2D game engine
- The Research of Mobile Network Games Application Base on the J2ME
- The Mobile Telephone Game Design and Development on J2ME
- Mobile Game Softwares Development Research
- Design and Development of J2ME Technology Based Mobile-Game
- Cell-phone Games Development on the Basis of J2ME--Thunder and Lightning Storm
- To investigate the China Mobile mobile phone game base marketing strategy
- An Analysis of Communication Technology Developments from The Communication Model and the Capabilities of the iPad
- The Research on Uncertainty of Artificial Intelligence