52ky 发表于 2022-10-28 21:08:52

Android九宫格数独游戏

Android九宫格数独游戏数独游戏的制作解说,本讲的代码借鉴了OpenSudoku开源项目的代码。啥是数独:在9×9格的大九宫格中有9个3×3格的小九宫格,并提供一定数量的数字。依据这些数字,使用逻辑和推理,在其它的空格上填入1到9的数字。每个数字在每个小九宫格内只能呈现一次,每个数字在每行、每列也只能呈现一次。这种游戏只需要逻辑思维能力,与数字运算无关。尽管玩法简单,但数字摆放方法却千变万化,所以不少教育者以为数独是锻炼脑筋的好方法。本资料共包括以下附件:
OpenSudoku\.settings\org.eclipse.jdt.core.prefs
OpenSudoku\release\OpenSudoku.apk
OpenSudoku\res\drawable\btn_completed_bg.xml
OpenSudoku\res\drawable\btn_completed_normal.9.png
OpenSudoku\res\drawable\btn_completed_normal_disable.9.png
OpenSudoku\res\drawable\btn_completed_normal_disable_focused.9.png
OpenSudoku\res\drawable\btn_default_bg.xml
OpenSudoku\res\drawable\btn_default_normal.9.png
OpenSudoku\res\drawable\btn_default_normal_disable.9.png
OpenSudoku\res\drawable\btn_default_normal_disable_focused.9.png
OpenSudoku\res\drawable\btn_default_pressed.9.png
OpenSudoku\res\drawable\btn_default_selected.9.png
OpenSudoku\res\drawable\btn_toggle.xml
OpenSudoku\res\drawable\btn_toggle_bg.xml
OpenSudoku\res\drawable\btn_toggle_completed_bg.xml
OpenSudoku\res\drawable\btn_toggle_off.9.png
OpenSudoku\res\drawable\btn_toggle_on.9.png
OpenSudoku\res\drawable\opensudoku.png
OpenSudoku\res\drawable\opensudoku_andy.png
OpenSudoku\res\drawable\pencil.png
OpenSudoku\res\drawable\pencil_disabled.png
OpenSudoku\res\drawable\pencil_license.txt
OpenSudoku\res\layout\about.xml
OpenSudoku\res\layout\file_list.xml
OpenSudoku\res\layout\file_list_item.xml
OpenSudoku\res\layout\folder_list.xml
OpenSudoku\res\layout\folder_list_item.xml
OpenSudoku\res\layout\folder_name.xml
OpenSudoku\res\layout\import_sudoku.xml
OpenSudoku\res\layout\im_numpad.xml

(Android Jiugongge Sudoku game Sudoku game production explanation. The code in this lecture is borrowed from the code of OpenSudoku open source project. What is Sudoku: at 9 × There are 9 3 in 9 big 9 squares × A small nine square with 3 squares and a certain number of figures. Based on these numbers, use logic and reasoning, and fill in the other spaces with numbers from 1 to 9. Each number can only be presented once in each small nine square, and each number can only be presented once in each row and column. This kind of game only needs logical thinking ability, and has nothing to do with numerical operation. Although the playing method is simple, the number placement method is ever-changing, so many educators think Sudoku is a good way to exercise their brains. This document includes the following annexes:
OpenSudoku\.settings\org.eclipse.jdt.core.prefs
OpenSudoku\release\OpenSudoku.apk
OpenSudoku\res\drawable\btn_ completed_ bg.xml
OpenSudoku\res\drawable\btn_ completed_ normal.9.png
OpenSudoku\res\drawable\btn_ completed_ normal_ disable.9.png
OpenSudoku\res\drawable\btn_ completed_ normal_ disable_ focused.9.png
OpenSudoku\res\drawable\btn_ default_ bg.xml
OpenSudoku\res\drawable\btn_ default_ normal.9.png
OpenSudoku\res\drawable\btn_ default_ normal_ disable.9.png
OpenSudoku\res\drawable\btn_ default_ normal_ disable_ focused.9.png
OpenSudoku\res\drawable\btn_ default_ pressed.9.png
OpenSudoku\res\drawable\btn_ default_ selected.9.png
OpenSudoku\res\drawable\btn_ toggle.xml
OpenSudoku\res\drawable\btn_ toggle_ bg.xml
OpenSudoku\res\drawable\btn_ toggle_ completed_ bg.xml
OpenSudoku\res\drawable\btn_ toggle_ off.9.png
OpenSudoku\res\drawable\btn_ toggle_ on.9.png
OpenSudoku\res\drawable\opensudoku.png
OpenSudoku\res\drawable\opensudoku_ andy.png
OpenSudoku\res\drawable\pencil.png
OpenSudoku\res\drawable\pencil_ disabled.png
OpenSudoku\res\drawable\pencil_ license.txt
OpenSudoku\res\layout\about.xml
OpenSudoku\res\layout\file_ list.xml
OpenSudoku\res\layout\file_ list_ item.xml
OpenSudoku\res\layout\folder_ list.xml
OpenSudoku\res\layout\folder_ list_ item.xml
OpenSudoku\res\layout\folder_ name.xml
OpenSudoku\res\layout\import_ sudoku.xml
OpenSudoku\res\layout\im_ numpad.xml)




页: [1]
查看完整版本: Android九宫格数独游戏