-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsudoku.html
144 lines (122 loc) · 6.71 KB
/
sudoku.html
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>home</title>
<meta name="generator" content="TextMate http://macromates.com/">
<meta name="author" content="xuchen81">
<!-- Date: 2010-07-13 -->
<link rel="stylesheet" type="text/css" href="/css/sudoku.css">
<script src="https://code.jquery.com/jquery-2.2.3.min.js"></script>
<script type="text/javascript" src="/js/sudoku.js"></script>
</head>
<body onload ="init()">
<div id = "wrapper">
<div id = "title">Sudoku Planet</div>
<div id = "row" class = "1" style = "border-top:3px solid #000000;">
<input id = "col1" class = "cell" type="text" maxlength="1" />
<input id = "col2" class = "cell" type="text" maxlength="1" />
<input id = "col3" class = "cell" type="text" maxlength="1" />
<input id = "col4" class = "cell" type="text" maxlength="1" />
<input id = "col5" class = "cell" type="text" maxlength="1" />
<input id = "col6" class = "cell" type="text" maxlength="1" />
<input id = "col7" class = "cell" type="text" maxlength="1" />
<input id = "col8" class = "cell" type="text" maxlength="1" />
<input id = "col9" class = "cell" type="text" maxlength="1" />
</div>
<div id = "row" class = "2">
<input id = "col1" class = "cell" type="text" maxlength="1" />
<input id = "col2" class = "cell" type="text" maxlength="1" />
<input id = "col3" class = "cell" type="text" maxlength="1" />
<input id = "col4" class = "cell" type="text" maxlength="1" />
<input id = "col5" class = "cell" type="text" maxlength="1" />
<input id = "col6" class = "cell" type="text" maxlength="1" />
<input id = "col7" class = "cell" type="text" maxlength="1" />
<input id = "col8" class = "cell" type="text" maxlength="1" />
<input id = "col9" class = "cell" type="text" maxlength="1" />
</div>
<div id = "row" class = "3">
<input id = "col1" class = "cell" type="text" maxlength="1" />
<input id = "col2" class = "cell" type="text" maxlength="1" />
<input id = "col3" class = "cell" type="text" maxlength="1" />
<input id = "col4" class = "cell" type="text" maxlength="1" />
<input id = "col5" class = "cell" type="text" maxlength="1" />
<input id = "col6" class = "cell" type="text" maxlength="1" />
<input id = "col7" class = "cell" type="text" maxlength="1" />
<input id = "col8" class = "cell" type="text" maxlength="1" />
<input id = "col9" class = "cell" type="text" maxlength="1" />
</div>
<div id = "row" class = "4" style = "border-top:3px solid #000000;" >
<input id = "col1" class = "cell" type="text" maxlength="1" />
<input id = "col2" class = "cell" type="text" maxlength="1" />
<input id = "col3" class = "cell" type="text" maxlength="1" />
<input id = "col4" class = "cell" type="text" maxlength="1" />
<input id = "col5" class = "cell" type="text" maxlength="1" />
<input id = "col6" class = "cell" type="text" maxlength="1" />
<input id = "col7" class = "cell" type="text" maxlength="1" />
<input id = "col8" class = "cell" type="text" maxlength="1" />
<input id = "col9" class = "cell" type="text" maxlength="1" />
</div>
<div id = "row" class = "5">
<input id = "col1" class = "cell" type="text" maxlength="1" />
<input id = "col2" class = "cell" type="text" maxlength="1" />
<input id = "col3" class = "cell" type="text" maxlength="1" />
<input id = "col4" class = "cell" type="text" maxlength="1" />
<input id = "col5" class = "cell" type="text" maxlength="1" />
<input id = "col6" class = "cell" type="text" maxlength="1" />
<input id = "col7" class = "cell" type="text" maxlength="1" />
<input id = "col8" class = "cell" type="text" maxlength="1" />
<input id = "col9" class = "cell" type="text" maxlength="1" />
</div>
<div id = "row" class = "6" >
<input id = "col1" class = "cell" type="text" maxlength="1" />
<input id = "col2" class = "cell" type="text" maxlength="1" />
<input id = "col3" class = "cell" type="text" maxlength="1" />
<input id = "col4" class = "cell" type="text" maxlength="1" />
<input id = "col5" class = "cell" type="text" maxlength="1" />
<input id = "col6" class = "cell" type="text" maxlength="1" />
<input id = "col7" class = "cell" type="text" maxlength="1" />
<input id = "col8" class = "cell" type="text" maxlength="1" />
<input id = "col9" class = "cell" type="text" maxlength="1" />
</div>
<div id = "row" class = "7" style = "border-top:3px solid #000000;">
<input id = "col1" class = "cell" type="text" maxlength="1"/>
<input id = "col2" class = "cell" type="text" maxlength="1" />
<input id = "col3" class = "cell" type="text" maxlength="1" />
<input id = "col4" class = "cell" type="text" maxlength="1" />
<input id = "col5" class = "cell" type="text" maxlength="1" />
<input id = "col6" class = "cell" type="text" maxlength="1" />
<input id = "col7" class = "cell" type="text" maxlength="1" />
<input id = "col8" class = "cell" type="text" maxlength="1" />
<input id = "col9" class = "cell" type="text" maxlength="1" />
</div>
<div id = "row" class = "8">
<input id = "col1" class = "cell" type="text" maxlength="1"/>
<input id = "col2" class = "cell" type="text" maxlength="1" />
<input id = "col3" class = "cell" type="text" maxlength="1" />
<input id = "col4" class = "cell" type="text" maxlength="1" />
<input id = "col5" class = "cell" type="text" maxlength="1" />
<input id = "col6" class = "cell" type="text" maxlength="1" />
<input id = "col7" class = "cell" type="text" maxlength="1" />
<input id = "col8" class = "cell" type="text" maxlength="1" />
<input id = "col9" class = "cell" type="text" maxlength="1" />
</div>
<div id = "row" class = "9" style = "border-bottom:3px solid #000000;">
<input id = "col1" class = "cell" type="text" maxlength="1"/>
<input id = "col2" class = "cell" type="text" maxlength="1" />
<input id = "col3" class = "cell" type="text" maxlength="1" />
<input id = "col4" class = "cell" type="text" maxlength="1" />
<input id = "col5" class = "cell" type="text" maxlength="1" />
<input id = "col6" class = "cell" type="text" maxlength="1" />
<input id = "col7" class = "cell" type="text" maxlength="1" />
<input id = "col8" class = "cell" type="text" maxlength="1" />
<input id = "col9" class = "cell" type="text" maxlength="1" />
</div>
<button type="button" onclick = "saveGame()">Save Game</button>
<button type="button" onclick = "">test database</button>
<button type="button" onclick = "getSolution()">solution</button>
<button type="button" value="Start count!" onClick="doTimer()">start timer</button>
<div id = "timer" width = "200" height = "200"> 00 : 00 : 00 </div>
<div class = "foot"></div>
</div>
</body>
</html>