python sudoku plan
https://github.com/liaohandel/python_sudoku
主题: 数独
1说明:
专题由三个档案组成
pyt268104_sudoku.py -->主程式
sudoku_publib.py -->class Num and Class sudoku_dataarray
sudoku_tablex1.py -->题库(demo_1)Easy ,(demo_2)Normal,(demo_3)Hard
需置于同一目录下
2执行启动:
python3 pyt268104_sudoku.py
启动后 预置 demo,demo1,demo2 3个游戏库资料(keyin 3 whill list)
3操作:
=== Easy Sudoku Game V1.0 pyt268104 Handel ===
*** System Command ***
[1]Level Select (L1:Easy,L2:Normal,L3:Hard) : 设定 Level
[2]Game code by LEVEL(1..10) : 设定题目序号
[3]Show Game Buffer and Status : 显示目前开启的游戏数急状态名称
[4]select play Game : 选择缓冲区中的数独题目
[?]List Menu : 显示指令提示
[H]Help info show : 显示 版本纪录
[Q]quit : 结束离开
*** Game Command ***
[N]Add a New Game : 增加 游戏库资料
[D]Delete a Game : 删除 游戏库资料
[L]Load Game Data[from level,gcode] : 于选定的游戏库资料载入指定的题目
[P]Print Game data array : 显示游戏库的资料现况
[K]key in a data to Game : 输入 (pos,Num)
[C]check the Game by Pass : 检查游戏状态 (playing , Fail , Pass)