-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
61 lines (61 loc) · 2.54 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
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="index.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/immutable/3.8.2/immutable.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.1.9/p5.min.js"></script>
<script src="test/test-games.js"></script>
<script src="src/utils.js"></script>
<script src="src/grid.js"></script>
<script src="src/basic-search.js"></script>
<script src="src/exact-cover.js"></script>
<script src="src/algorithm-x.js"></script>
<script src="src/dancing-links.js"></script>
<script src="src/dlx.js"></script>
<script src="src/generator.js"></script>
<script src="src/sketch.js"></script>
</head>
<body>
<h1>Sudoku Solver</h1>
<p>Link to repo: <a href="https://github.com/Immodal/sudoku">Immodal/sudoku</a>, check out the readme for more info.</p>
<div style="display: flex; flex-wrap: wrap; justify-content:flex-start;">
<div id="cv" style="margin-bottom: 1em"></div>
<div id="col1" style="padding-left: 1em; margin-bottom: 1em">
<h3 class="title" style="margin-top:0;">Random Puzzles</h3>
<div id="maxSolutionsLbl">Maximum Number of Solutions: </div>
<div id="maxSolutionsSlider"></div>
<div id="maxStepsLbl">Solution Search Thoroughness: </div>
<div id="maxStepsSlider"></div>
<div id="maxEmptyCellsLbl">Maximum Number of Empty Cells: </div>
<div id="maxEmptyCellsSlider"></div>
<div id="sizesRadio">Sizes: </div>
<div id="loaderBtns"></div>
<h3 class="title">Playback Control</h3>
<div id="playbackBtns">
<div id="stepCount">Step Count: </div>
</div>
<h3 class="title">Solver Selection</h3>
<div id="solverSelect"></div>
</div>
<div id="col2" style="padding-left: 1em;">
<h3 class="title" style="margin-top:0;">Custom Puzzles</h3>
<p>Rules:</p>
<ol>
<li>Puzzle must be a square</li>
<li>Supported sizes are 4x4, 9x9, 16x16, 25x25</li>
<li>Use "0" to denote empty cells</li>
<li>
Valid Symbols are 1-9, A-Z (a-z will be changed to uppercase)
<ul>
<li>in a 4x4 puzzle, only 1,2,3,4 are valid</li>
<li>in a 16x16 puzzle, only 1-9 and A-G are valid</li>
</ul>
</li>
</ol>
<div id="customPuzzleBtns"></div>
<div id="customInputArea"></div>
<div id="insertExampleBtns"></div>
</div>
</div>
</body>
</html>