-
Notifications
You must be signed in to change notification settings - Fork 0
/
validSudokus.js
82 lines (81 loc) · 5.8 KB
/
validSudokus.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
/*
* Sudoku is html/javascript code that lets you solve a sudoku puzzle.
* Copyright (C) 2020 Arun Kunchithapatham
*
* This file is part of Sudoku.
*
* Sudoku is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Sudoku is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with Sudoku. If not, see <http://www.gnu.org/licenses/>.
*/
var validSudokus = [
"...9...8..45.......3.......9....2..41..8...........3..7.....91....63........5....",
"9...8..4....5....7.......61....2.5....1.......6.......2.....3..5..3......7.6.....",
"..9....84....61......7........4...2.65.......7.........2.83....4.....6........1..",
"98..4.......6...2.1.......5....15.........83.4.........3.2.7.........1.....8.....",
"...98.....4....6..5.........32..5......7....8.......1.8.9....7.....1.3..7........",
".9.8........4...7.......1..1.7....6....3....42.............725..3....4......1....",
"...9....851.......2............2.35...8.....76........3......2....6.4......8..1..",
"...9....851.......2............2.45...8.....76........3......2....6.4......8..1..",
".9.8...5.1...3.............3.2...1..7..5.6......4...8.....7.3...5........4.......",
"9.8...5......1....5..........65.9....1.....7........4....9..6.172.4..............",
".9.8..5...1...............6...1.9.7.4.......3...5.....2.6.3..4.......1..3........",
".9....85.....1.............6.....4.2.7.9........3..1.....5.9.7.1.......42........",
".....9.851..6.....7......2.4..37.....2......9...1......8..2..........3........6..",
"9..8...........5............2..1...3.1.....6....4...7.7.86.........3.1..4.....2..",
".9...8.521...6..............5.2...7.....4.............4.1...6.....5..3..6....7...",
"98...5......3...1.6.......2.....86..75.........1.........21..........57.....3....",
"9..8..........54........3.....1...95.4........6.......5.8....2....64.7......3....",
"9..8............54.......6....165...3.....8........1...54....7....2..3...1.......",
"...9..8..54........6.........9.2.1......6.7.......4...2......64...5...3...1......",
"...9..8..54........6.........9.2.1......6.7.......4...2......64...5...3...7......",
"9.8.5....5..63...........1..427...........3...1..........1.2...8.....5..........9",
"...98.5..6.1....................1..2.9.....1..3......6...87.3........74.2........",
"98.5...........61...........37.8.......6..2...1.......4.....9.5....31...2........",
".9.85.......6..1..7.......2.6.3............57.........9...72.........36.5........",
"9...85..........61.........72....8.....4..9.....6......6.1...4..8....3..5........",
"9..85...........623......4.....12...8.....3............6.9....7...3..9...2.......",
"98..5..........73.6.......2...3....84.........5.........32..1.......145..........",
"..986..2.3.1................2..7..8.....1.6.......3....6.4.....7.....1.....2.....",
"9.86...........23.1.........37....9....1......4.......6.......8....3.7.....92....",
".9..8....6......2..............3.8.92.8......7.........1.4..5.....2.6.4....7.....",
"....9.86..2.......4........1......573....8......4........2..3....6.5.....8......4",
"...9..8...6......2.5.......9.27.........3..5........1.4..1.9.........3.5......6..",
"......9.86...2.....7....1.....1.7...2......5.4..9.........3..6..1.8......9.......",
".9..8....6.....3...........3.4...7......5..8.2.........5.....91...4.3.....82.....",
"9.8..63.....5.....1...............578...3...........2..573......2....4......1....",
".9.8............64.1..........6..13.4.75.....2............42..75.....9...........",
".9..8........6.4...1.......6..25.......4...71.......9.4....1...3.....8.....7.....",
"9.8.6.4......3....5...............314..2........9......31.....7......25..6.......",
".9..8..........65.......2..2.4..........5..3...6.........6.74..48......1...2.....",
".9..8..........6........5..3..5..1.....6.2....4.......6.13.....5.......8....7..4.",
"....9.8...71........4.........7.1...5.....2.....3........1..43.6.......7.2..5....",
"....9..871..5..............5..4.1....7.....39...2........6..4...39............1..",
"....9..871..5..............5..4.1....7.....93...2........6..4...39............1..",
"....9.8....7...2...1..........3.1...9......4....5..6.........734...2.......7...1.",
"....9.8....7...2...1..........3.1...9......4....5..6.........735...2.......7...1.",
"....9...8......7..2........6.....52.....74..........6....5..21..873......4.......",
"9.8..73..1............5.....2..4..5.3..8...........7...54....1....9.3............",
"9.8..73..1............5.....2..4..5.3..8...........7...54....2....9.3............",
"...9...8..7.....3.2..5......83.6.......2..4........5..4.....2.9.....1.......8....",
".9....8......7.3..5...4....2..1...5....8.9...7............2..7..8.3.....6........",
"....9.8..7.4......1.........5.48...........1..9.......2..6..5.....1.7.........3.8",
"9..87..........4.1...9..2..32..........7...8......1......5..3...14........7......",
"...9..8...74.......3.......9..2............35......7.46.....12.....38.......4....",
".987...........51...........2..1....5.....4.....8....96...5....3.......4.....4.8.",
"..98.7...5.....1........4...4..1......3....9.........22..9........3...8..1....7..",
".9....8.7....5.9......1....2......14.......3....8.....5.2......1..4........9..7..",
".9.8.7.6....1..7..2............4.2.3.8.6..............3...2....1......8......3...",
".9.8.7.6....1..7..2............4.2.3.8.9..............3...2....1......8......3...",
".9.8.7.6.2.....7.....1.........4.2.3.8.9..............3...2....1......8......3...",
".9.8..76....3..8..1.........6..12.........3......4....2......1...39.....7........"
];