-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
128 lines (127 loc) · 6.21 KB
/
index.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
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sudoku Solver</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="jumbotron">
<h1>Play Sudoku for Free</h1>
</div>
<p id="message-p"></p>
<div class="main">
<div id="sudoku" class="sudoku">
<form id="sudoku-form">
<input type="number" class="number bu bl">
<input type="number" class="number bu">
<input type="number" class="number bu br">
<input type="number" class="number bu">
<input type="number" class="number bu">
<input type="number" class="number bu br">
<input type="number" class="number bu">
<input type="number" class="number bu">
<input type="number" class="number bu br">
<br>
<input type="number" class="number bl">
<input type="number" class="number">
<input type="number" class="number br">
<input type="number" class="number">
<input type="number" class="number">
<input type="number" class="number br">
<input type="number" class="number">
<input type="number" class="number">
<input type="number" class="number br">
<br>
<input type="number" class="number bl bb">
<input type="number" class="number bb">
<input type="number" class="number bb br">
<input type="number" class="number bb">
<input type="number" class="number bb ">
<input type="number" class="number bb br">
<input type="number" class="number bb">
<input type="number" class="number bb">
<input type="number" class="number bb br">
<br>
<input type="number" class="number bl">
<input type="number" class="number">
<input type="number" class="number br">
<input type="number" class="number">
<input type="number" class="number">
<input type="number" class="number br">
<input type="number" class="number">
<input type="number" class="number">
<input type="number" class="number br">
<br>
<input type="number" class="number bl">
<input type="number" class="number">
<input type="number" class="number br">
<input type="number" class="number">
<input type="number" class="number">
<input type="number" class="number br">
<input type="number" class="number">
<input type="number" class="number">
<input type="number" class="number br">
<br>
<input type="number" class="number bl bb">
<input type="number" class="number bb">
<input type="number" class="number bb br">
<input type="number" class="number bb">
<input type="number" class="number bb">
<input type="number" class="number bb br">
<input type="number" class="number bb">
<input type="number" class="number bb">
<input type="number" class="number bb br">
<br>
<input type="number" class="number bl">
<input type="number" class="number">
<input type="number" class="number br">
<input type="number" class="number">
<input type="number" class="number">
<input type="number" class="number br">
<input type="number" class="number">
<input type="number" class="number">
<input type="number" class="number br">
<br>
<input type="number" class="number bl">
<input type="number" class="number">
<input type="number" class="number br">
<input type="number" class="number">
<input type="number" class="number">
<input type="number" class="number br">
<input type="number" class="number">
<input type="number" class="number">
<input type="number" class="number br">
<br>
<input type="number" class="number bb bl">
<input type="number" class="number bb">
<input type="number" class="number bb br">
<input type="number" class="number bb">
<input type="number" class="number bb">
<input type="number" class="number bb br">
<input type="number" class="number bb">
<input type="number" class="number bb">
<input type="number" class="number bb br">
<br>
</form>
</div>
<div class="controls">
<label>Difficulty: </label>
<select name="difficulty" class="form-control" id="difficulty">
<option value="easy">Easy</option>
<option value="medium">Medium</option>
<option value="hard">Hard</option>
<option value="random">Random</option>
</select><br>
<button id="generate" class="btn btn-success btn-generate">New Game</button><br>
<button id="hint" class="btn btn-warning btn-help">Hint</button>
<button id="solve-button" class="btn btn-danger btn-help">Solve</button><br><br>
<span class="lives">Lives Remaining: <span id="lives"></span><br>Hints Remaining: <span id="hints"></span></span>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.21.1/axios.min.js"></script>
<script src="solver.js"></script>
<script src="main.js"></script>
</body>
</html>