-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsudoku.html
More file actions
97 lines (75 loc) · 2.86 KB
/
sudoku.html
File metadata and controls
97 lines (75 loc) · 2.86 KB
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
<!DOCTYPE html>
<html>
<head>
<link rel="icon" href="./img/graph.png" type="image/png">
<title> Coloring Graph</title>
<!-- Bootstrap core CSS -->
<link
rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css"
integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M"
crossorigin="anonymous"
/>
<!-- Include SweetAlert library -->
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<link rel="stylesheet" type="text/css" href="./style/sudoku.css">
<link rel="stylesheet" href="style/justified-nav.css">
<link rel="stylesheet" href="style/style.css">
</head>
<body>
<div class="container">
<div class="row nav">
<nav>
<a href="./index.html">GRAPH</a>
<a href="./sudoku.html">SUDOKU</a>
<a href="./about.html">DEMO</a>
<div id="indicator"></div>
</nav>
</div>
<div class="row">
<h1 class="title">Sudoku With Graph Coloring</h1>
</div>
<div class="row">
<div class="col-lg-4 col-sm-12 p-3">
<label for="size" class="label-title">Size: </label>
<select name="size" id="size" class="custom-select mb-2 mr-sm-2 mb-sm-0">
<option value="9">9x9</option>
<option value="4">4x4</option>
</select>
<div class="sudoku">
<table>
<tbody class="sudoku-grid">
<!-- Content will be added dynamically using JavaScript -->
</tbody>
</table>
</div>
<input type="reset" id="reset" class="btn">
<button id="solveButton" class="btn blue">Solve</button>
</div>
<div class="col-1"></div>
<div class="col-lg-7 col-sm-12 p-3" id="sodukoGraphdiv">
<form>
<div class="form-row align-items-center">
<div class="col-auto">
<label for="speedSelector" class="label-title" >Speed: </label>
<input type="range" name="" id="speedSelector" min="0" max="10">
</div>
</div>
</form>
<div id="svg-map" class="card">
</div>
</div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js"
integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4"
crossorigin="anonymous"
></script>
<script type="text/javascript" src="js/d3.v3.min.js"></script>
<script src="./js/sudokuGraphSolving.js"></script>
<script src="./js/sudoku.js"></script>
</body>
</html>