【正文】
用影印、縮印、數(shù)字化或其它復(fù)制手段保存論文;在不以贏利為目的前提下,學(xué)??梢怨颊撐牡牟糠只蛉績?nèi)容。盡我所知,除文中特別加以標(biāo)注和致謝的地方外,不包含其他人或組織已經(jīng)發(fā)表或公布過的研究成果,也不包含我為獲得 及其它教育機(jī)構(gòu)的學(xué)位或?qū)W歷而使用過的材料。 JAVA。s wele screen, screen painting, drawing board, layout algorithm , and ultimately to achieve a userfriendly, efficient and stable and rich entertainment and Battle of Android applications. Keywords: Android system。 關(guān)鍵詞 : Android 系統(tǒng); 中國象棋; JAVA; 智能手機(jī) 武漢科技大學(xué)本科畢業(yè)設(shè)計(jì) II Abstract Now, the smartphone operating system is developed rapidly, making smart phones and other smart mobile devices widely available, so the smart operating system and application software development services required will have broad prospects for development. The Android is an open architecture, not only has a very good development and debugging environment, but also supports a variety of scalable user experience, including rich graphical ponents, multimedia support, and powerful browser. Therefore, for software professionals , Android platform has unlimited appeal. On the other hand, Android system is developed based on the Linux kernel, and his upper application software is based on JAVA technology develop ment. JAVA is an objectoriented development language, with better portability、 robustness and security for the userfriendly design is more convenient. This paper discusses the analysis of Android application development technology principle, on this basis, for the users to develop Chinese Chess software that is based on Android system and that is just for one vs one. Through the Android system architecture and application development for a preliminary study to design a standalone version of Chinese chess game. In the system, it needs to conduct a detailed analysis to determine the system39。通過對(duì) Android 系統(tǒng)架構(gòu)和應(yīng)用開發(fā)進(jìn)行初步研究,設(shè)計(jì)一款中國象棋的單機(jī)版游戲。 JAVA 是一門面向?qū)ο蟮拈_發(fā)語言,擁有更好的可移植性、健壯性和安全性,對(duì)于人性化的設(shè)計(jì)更為方便。因此,對(duì)于軟件從業(yè)人員來說, Android 平臺(tái)具有無限的吸引力。武漢科技大學(xué)本科畢業(yè)設(shè)計(jì) I 摘 要 現(xiàn)在智能操作系統(tǒng)迅速發(fā)展,使得智能手機(jī)和其他的智能移動(dòng)設(shè)備得到廣泛普及,因此,智能操作系統(tǒng)的應(yīng)用軟件開發(fā)及其需要的服務(wù)將有廣闊的發(fā)展前景。而 Android 是開放性體系架構(gòu),不僅具有非常好的開發(fā)、調(diào)試環(huán)境,而且還支持各種可擴(kuò)展的用戶體驗(yàn),包括豐富的圖形組件、多媒體支持功能以及強(qiáng)大的瀏覽器。另一方面, Android系統(tǒng)是基于 Linux內(nèi)核而開發(fā)的,他的上層應(yīng)用軟件都是基于 JAVA技術(shù)開發(fā)的。 本文在分析討論 Android 應(yīng)用軟件開發(fā)技術(shù)原理的基礎(chǔ)上,開發(fā)出基于Android 平臺(tái)的中國象棋人人對(duì)弈的游戲軟件。在對(duì)系統(tǒng)進(jìn)行詳細(xì)需求分析的基礎(chǔ)上,確定了系統(tǒng)的功能和性能要求,對(duì)游戲的歡迎界面、屏幕繪制、棋盤繪制、布局算法等進(jìn)行設(shè)計(jì),并最終實(shí)現(xiàn)一個(gè)界面友好、高效穩(wěn)定和富有娛樂性和對(duì)戰(zhàn)性的 Android 應(yīng)用軟件。s functional and performance requirements, carries on the design to the game39。 Chinese chess。 smartphones 畢業(yè)設(shè)計(jì)(論文)原創(chuàng)性聲明和使用授權(quán)說明 武漢科技大學(xué)本科畢業(yè)設(shè)計(jì) III 原創(chuàng)性聲明 本人鄭重承諾:所呈交的畢業(yè)設(shè)計(jì)(論文),是我個(gè)人在指導(dǎo)教師的指導(dǎo)下進(jìn)行的研究工作及取得的成果。對(duì)本研究提供過幫助和做出過貢獻(xiàn)的個(gè)人或集體,均已在文中作了明確的說明并表示了謝意。 作者簽名: 日 期: 武漢科技大學(xué)本科畢業(yè)設(shè)計(jì) IV 目 錄 1 緒論 .......................................................................................................................... 1 中國象棋的背景介紹 .................................................................................... 1 中國象棋的歷史起源 .......................................................................... 1 中國象棋的發(fā)展現(xiàn)狀與前景 .............................................................. 1 Android 操作系統(tǒng)簡介 ................................................................................. 2 Android 操作系統(tǒng)背景 ....................................................................... 2 Android 系統(tǒng)的優(yōu)勢(shì)與弊端 ............................................................... 3 Android 操作系統(tǒng)的現(xiàn)狀與發(fā)展前景 ............................................... 4 2 Android 系統(tǒng)的架構(gòu)與開發(fā)環(huán)境 ........................................................................... 6 Android 的體系結(jié)構(gòu) ..................................................................................... 6 Android 的四大組件 ..................................................................................... 8 Android 開發(fā)環(huán)境的搭建 ............................................................................. 9 Java JDK 的安裝 .............................................................................. 9 eclipse 的下載與使用 ......................................................................... 9 Android 開發(fā)工具的安裝 ................................................................... 9 Android 工程的建立 ......................................................................... 10 3 中國象棋的走法規(guī)則與實(shí)現(xiàn)分析 ........................................................................ 13 中國象棋的走法規(guī)則 .................................................................................. 13 棋盤和棋子介紹 ................................................................................ 13 中國象棋的規(guī)則和勝負(fù)的判定 ........................................................ 14 中國象棋的走法分析 .................................................................................. 15 4 中國象棋軟件的主要功能和界面布局 ................................................................ 19 中國象棋軟件實(shí)現(xiàn)的主要功能 .................................................................. 19 軟件的主要布局與實(shí)現(xiàn) .............................................................................. 20 開始游戲選項(xiàng)界面 ............................................................................ 20 中國象棋選項(xiàng)界面 ............................................................................ 22 5 中國象棋的算法設(shè)計(jì)與實(shí)現(xiàn) ................................................................................ 24 工程的建立 .................................................................................................. 24 工程模塊的介紹 .......................................................................................... 25 各個(gè)類主要實(shí)現(xiàn)的功能 .................................................................... 25 工程中其他模塊的介紹 .................................................................... 26 中國象棋的邏輯算法和實(shí)現(xiàn) ...................................................................... 26 棋盤和棋子的算法分析 .................................................................... 26 武漢科技大學(xué)本科畢業(yè)設(shè)計(jì) V 棋盤和棋子的繪制 ................