Summary:
Backgammon is a purely strategic board game played by two people, and the chess equipment is common to Go. It is also known as "string of beads", "Beijing chess", etc., and is an ancient chess species that is familiar to people in Chinese folk. Usually both sides use black and white chess pieces and play at the intersection of the straight and horizontal lines of the chessboard, and the first to form a five-piece line wins.
The advent of the mobile Internet era has greatly changed our lives, and Android is an open source operating system based on Linux, which quickly occupied the smart phone operating system, so it is particularly necessary to develop in the Android environment.
This article mainly talks about the use of Eclipse development tools and Android platform to develop an intuitive and generous custom interface of the native Android backgammon game with some AI functions, the game program realizes man-machine game and everyone play, automatically and intelligently calculates the best drop position, and the program can also automatically determine whether the game is over or not and the winner of the game, so that the two sides of the game can play smoothly.
Keywords: eclipse games android man-machine game backgammon.
Table of Contents: Executive Summary 1
abstract 2
1 Introduction 1
1.1 Background and significance of software 2
1.1.1 Analysis of the current state of Android mobile development 3
1.1.2 The current state of Android game development 4
1.1.3 Analysis of backgammon games on mobile 4
1.2 Main content and objectives of development 5
2 Introduction to key technologies 6
2.1 Introduction to Android 6
2.1.1 Android Basic Framework 6
2.1.2 Android Features 8
2.1.3 Security Privilege Mechanism 9
2.1.4 The four major components of the Android system 9
2.1.5 Aqlite Lightweight Database that comes with Android phones 10
2.2 Introduction to the development tool Eclipse 11
2.2.1 Introduction to Eclipse 11
2.2.2 Features and benefits of Eclipse 11
2.3 Building an Android Development Platform 11
2.3.1 Installation of the JDK 11
2.3.2 Eclipse Installation 12
2.3.3 Installation of the Android SDK 12
2.3.4 Installing the ADT plug-in for Eclipse 13
2.3.5 Configuring the Android Virtual Appliance (**d) 13
2.3.6 Development Environment 14
3 Demand analysis and feasibility analysis 15
3.1 Game Demand Analysis 15
3.1.1 Functional Requirements Analysis 15
3.1.2 Performance Requirements Analysis 16
3.1.3 Other needs analysis 16
3.2 Game Feasibility Analysis 16
3.2.1 Technical feasibility analysis 16
3.2.2 Economic feasibility analysis 16
3.2.3 Hardware feasibility analysis 16
3.2.4 Market Feasibility Analysis 17
3.2.5 Legal feasibility analysis 17
4 Outline design 18
4.1 Overall system design 18
4.2 Game Running Flow Design 18
4.3 Game Use Case Design 19
4.4 Control module design 20
4.5 Display Module Design 21
5 Detailed design 22
5.1 Menu function design 22
5.2 Drawing of the interface 23
5.2.1 Drawing of the chessboard 23
5.2.2 Drawing of chess pieces 24
5.3 Game Core Functional Design 25
5.3.1 Game Welcome Page Design 25
5.3.2 Game main page design 25
5.3.3 Implementation of the Exit Game Function 26
5.3.4 Versus Avail Page Design 27
5.3.5 Human-machine battle page design 30
6 Procedure Test 34
6.1 Introduction to Testing 34
6.1.1 The Importance and Objectives of the Test 34
6.1.2 Step 35 of the test
6.1.3 The main content of the test 35
6.2 Testing of the program 36
6.2.1 Test content 36
6.2.2 Test Log 36
Concluding remarks 44
Ref. 45
Acknowledgments 46
Original text in foreign languages 47
Chinese translation 58
*Word Count: 33668