before refactoring sudoku logic
This commit is contained in:
parent
775398f456
commit
3555c49ad4
9
boards/041.txt
Normal file
9
boards/041.txt
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
0 0 4 3 0 0 2 0 9
|
||||||
|
0 0 5 0 0 9 0 0 1
|
||||||
|
0 7 0 0 6 0 0 4 3
|
||||||
|
0 0 6 0 0 2 0 8 7
|
||||||
|
1 9 0 0 0 7 4 0 0
|
||||||
|
0 5 0 0 8 3 0 0 0
|
||||||
|
6 0 0 0 0 0 1 0 5
|
||||||
|
0 0 3 5 0 8 6 9 0
|
||||||
|
0 4 2 9 1 0 3 0 0
|
@ -1,6 +1,6 @@
|
|||||||
return {
|
return {
|
||||||
board = {
|
board = {
|
||||||
filePath = "boards/040.txt",
|
filePath = "boards/005.txt",
|
||||||
},
|
},
|
||||||
window = {
|
window = {
|
||||||
bgColor = "FFFFFF",
|
bgColor = "FFFFFF",
|
||||||
|
@ -104,7 +104,7 @@ function sudoku.calCellValidOptions(board, x, y)
|
|||||||
return v
|
return v
|
||||||
end
|
end
|
||||||
|
|
||||||
function sudoku.buildSearchSpave(board)
|
function sudoku.buildSearchSpace(board)
|
||||||
local s = {}
|
local s = {}
|
||||||
for i = 1, 9 do
|
for i = 1, 9 do
|
||||||
s[i] = {}
|
s[i] = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user