资源描述:
《基于android平台的数独游戏的设计毕业设计论文》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、摘要数独(Sudoku)是一种运用纸、笔进行演算的数学智力游戏。玩家需要根据9×9盘面上的已知数字,推理出所有剩余空格的数字,并满足每一行、每一列、每一个小九宫内的数字均含1~9,而且不重复。每一道合格的数独谜题都有且仅有唯一答案,推理方法也以此为基础,任何无解或多解的题目都是不合格的。随着搭载Android系统的智能手机在中国的普及,不论何时,不论何地,在智能手机端玩数独游戏成为一种方便快捷的新需求。数独游戏出现错误时,必须回退一步或几步并擦除已经填入的大部分数字,在智能手机上玩数独游戏可以随时修改单元格中的数字。数独游戏规则需要根据已有数字进行推理判断,不仅具有
2、很强的趣味性,而且能锻炼我们的逻辑思维能力。本课题研究设计一款运行在Android平台的数独游戏软件。该课题主要使用Java语言开发,运行于Android操作系统,实现了数独游戏的基本功能。关键词:数独;Android;手机游戏;Java-ABSTRACTSudokuisamathpuzzlegameplayedwithpaperandpen.Playersneedtobefilled9×9diskwithknownfigures,reasoningotherfigureout,andmeeteachrow,eachcolumn,eachsmallnineintra
3、uterinefigures1to9inclusive,andnotrepeat.EveryqualifiedSudokupuzzlesonlyhaveoneuniqueanswer,butalsoasabasisforreasoningmethod,nosolutionoranysolutionquestionsareunqualified.WithAndroidpoweredsmartphonespopularinChina,nomatterwhen,nomatterwhere,palyingsudokugameinthesmartphonebecomeacon
4、venientnewdemands.Sudokuerroroccurs,orthestepsyoumusttakeastepbackanderasethefiguresalreadyfilled.onthesmartphonesudokucanbemodifiedinacellnumber.Sudokurulesneedtobebasedontheexistingnumberofreasoningjudgment,notonlyhasastronginterest,butalsotoexerciseourabilitytothinklogically.Thisstu
5、dyisdesignedaSudokugamesoftwaretorunontheAndroidplatform.UsingJavalanguageandrunsontheAndroidoperatingsystem,toachievethebasicfunctionsofSudoku.Sudokuisamathpuzzlegameplayedwithpaperandpen.-Accordingtothefilled9×9diskwithknownfigures,playersneedtoreasonoutotherfigures,whichmustmeeteach
6、row,eachcolumn,eachsmallnineintrauterinefigures1to9inclusive,andnotrepeat.EveryqualifiedSudokupuzzlehasandonlyhasoneuniqueanswer.Asabasisforreasoningmethod,nosolutionoranyothersolutionquestionsareunqualified.WiththerapidpopularizationofandroidpoweredsmartphonesinChina,nomatterwhenorwhe
7、re,palyingsudokugameinthesmartphonebecomesanewfashion.WhenSudokuerroroccurs,youmusttakeastepbackanddeletethefiguresalreadyfilled.PlayingSudokugameonthesmartphone,youcanconvenientlymodifythenumbers.Sudokurulesmustbaseontheexistingnumberofreasoningjudgment,whichnotonlyhaveastrongintere