forked from flash6083/HacktoberFest-GUI-Projects-and-Games
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
109 lines (93 loc) · 5.14 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link
href="https://fonts.googleapis.com/css2?family=Recursive&family=Red+Rose&family=Sriracha&family=Ubuntu&family=Poppins&family=Raleway&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="style.css">
<title>Steve's sudoku</title>
</head>
<body class="flex-row">
<div id="main__container">
<div id="header__controls" class="flex-row">
<span id="header__menu"><img src="images/3dots.svg" id="dotMenuSpan" ></span>
<Span id="header__header">SUDOKU</Span>
<span id="header__submit"><span>Submit</span ></span>
</div>
<div id="dotMenu">
<div id="back" class="flex-row" style="justify-content: space-evenly;"><img src="images/home.svg" alt=""> Home</div>
<div id="newGame">New Game</div>
<div id="clear">Clear All</div>
<div id="solver"> <span id="text"></span>
<div id="solverMenu">
<div id="solverStart">Start</div>
<div id="solverWatch">
<input type="checkbox" id="solverWatchCbox" name="solverWatchCbox" value="watch" checked>
<label for="solverWatchCbox">Watch</label>
</div>
<div id="solverSpeed">
<label for="speedRange">Speed</label>
<input type="range" name="speedRange" id="speedRange" max="250" min="50" value="100">
</div>
<div id="solverStop">Stop</div>
</div>
</div>
</div>
<!-- board -->
<div id="board">
</div>
<div id="keypad" class="flex-row">
</div>
</div>
<!-- home page with menu options -->
<div id="home">
<div id="header">
<div id="title">SUDOKU</div>
<div id="selection__size" class="selection flex-row">
<span class="title">Size</span>
<div class="options flex-row">
<span data-size="4"><svg width="24" height="24" viewBox="0 0 1792 1792"
xmlns="http://www.w3.org/2000/svg" fill="currentColor">
<path
d="M832 1024v384q0 52-38 90t-90 38h-512q-52 0-90-38t-38-90v-384q0-52 38-90t90-38h512q52 0 90 38t38 90zm0-768v384q0 52-38 90t-90 38h-512q-52 0-90-38t-38-90v-384q0-52 38-90t90-38h512q52 0 90 38t38 90zm896 768v384q0 52-38 90t-90 38h-512q-52 0-90-38t-38-90v-384q0-52 38-90t90-38h512q52 0 90 38t38 90zm0-768v384q0 52-38 90t-90 38h-512q-52 0-90-38t-38-90v-384q0-52 38-90t90-38h512q52 0 90 38t38 90z" />
</svg></span>
<span data-size="9"><svg width="24" height="24" viewBox="0 0 1792 1792"
xmlns="http://www.w3.org/2000/svg" fill="currentColor">
<path
d="M512 1248v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm-640-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm-640-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68z" />
</svg></span>
</div>
</div>
<div id="selection__level" class="selection flex-row">
<span class="title">Level</span>
<div class="options">
<Span data-level=0>Easy</Span>
<Span data-level=1>Maybe</Span>
<Span data-level=2>Evil</Span>
</div>
</div>
<div id="start">start</div>
</div>
</div>
<script src="global.js"></script>
<script src="combinations.js"></script>
<script src="validate.js"></script>
<script src="board.js"></script>
<script src="view.js"></script>
<script src="digger.js"></script>
<script src="userActions.js"></script>
<script src="solver.js"></script>
<script src="script.js"></script>
</body>
</html>
<!--
TODO
1. Dot Menu: Show errors (direct errors like doubles in box, row, column)
2. Dot Menu: Show conflicts (compare user board with solved board and highlight differences)
3. Dot Menu: New Game with same configguration
4. Dot Menu: remove Level notification in board and replace it with dot menu
5. Board: Modal on completeion
6. Board: Box min availableBoxes()
-->