-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
115 lines (101 loc) · 3.59 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Waterworks</title>
<link rel="shortcut icon" href="assets/favicon.ico" type="image/x-icon">
<!-- google fonts -->
<link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap" rel="stylesheet">
<!-- fontawesome -->
<script src="https://kit.fontawesome.com/51d17a3aa7.js" crossorigin="anonymous"></script>
<!-- stylesheet -->
<link rel="stylesheet" href="./styles/style.css">
</head>
<body>
<!-- header -->
<header>
<h1>Waterworks</h1>
</header>
<!-- main -->
<main>
<div class="game-container">
<!-- game board -->
<div class="game">
<!-- game content generated here -->
</div>
<!-- game menu -->
<div class="menu">
<div class="pipes-container hidden">
<!-- available pipes generated here -->
<div class="pipes">
<div class="square pipe0" pipe="0"></div>
<div class="square pipe1" pipe="1"></div>
<div class="square pipe2" pipe="2"></div>
<div class="square pipe3" pipe="3"></div>
</div>
<!-- instructions -->
<div class="pipes-instructions">
<p>Click to rotate</p>
<p>Drag and drop to place</p>
</div>
</div>
<!-- controls -->
<div class="controls hidden">
<div class="timer">
<p><i class="far fa-clock"></i>Water turning on in:</p>
<span><!-- timer goes here --></span>
</div>
<!-- restart and done buttons -->
<div class="buttons">
<button class="restart" aria-label="Restart" title="Restart"><i class="fas fa-undo fa-fw"></i></button>
<button class="done" aria-label="Done" title="Done"><i class="fas fa-check fa-fw"></i></button>
</div>
</div>
<!-- settings panel -->
<div class="settings">
<!-- instructions -->
<div class="instructions">
<h2>Instructions</h2>
<p>Connect: <span class="pipe-image"><img src="assets/pipeStart.svg" alt="Start Pipe"></span> With this: <span class="pipe-image"><img src="assets/pipeEnd.svg" alt="End Pipe"></span></p>
<div class="instructions-leak">
<p>before the water leaks:</p>
<img src="assets/instructionsLeak.svg" alt="Leaking pipes">
</div>
</div>
<!-- difficulty select and game start -->
<form action="#">
<div>
<label for="difficulty">Difficulty:</label>
<select name="difficulty" id="difficulty">
<option value="creative">Creative</option>
<option value="easy">Easy</option>
<option value="medium" selected>Medium</option>
<option value="hard">Hard</option>
</select>
</div>
<button type="submit">Start</button>
</form>
</div>
<!-- volume control -->
<div class="volume"><i class="fas fa-volume-up" aria-label="volume control"></i></div>
<!-- signature -->
<div class="signature">
<p>Made at <a href="https://junocollege.com/">Juno College</a> by <a href="https://github.com/nkanigsberg">Nathan
Kanigsberg</a></p>
</div>
</div>
</div>
</main>
<!-- jQuery -->
<script src='https://code.jquery.com/jquery-3.5.1.min.js'
integrity='sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=' crossorigin='anonymous'></script>
<!-- jQuery UI -->
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.min.js"
integrity="sha256-VazP97ZCwtekAsvgPBSUwPFKdrwD3unUfSGVYrahUqU=" crossorigin="anonymous"></script>
<!-- SweetAlert -->
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@10"></script>
<!-- script -->
<script src="./scripts/script.js"></script>
</body>
</html>