forked from ChromeGaming/Dot-Box
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
295 lines (281 loc) · 9.36 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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="./styles/mainstyle.css" />
<link rel="stylesheet" href="./styles/default.style.css" />
<link rel="stylesheet" href="/styles/global.css" />
<link rel="stylesheet" href="./styles/index.style.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"
/>
<!-- JavaScript files -->
<script defer src="./js/validation.js"></script>
<script defer src="./js/index.js"></script>
<!-- Logo of the game -->
<link rel="icon" href="./assets/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="./assets/favicon.ico" type="image/x-icon" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"
/>
<script src="./js/emoji.js"></script>
<title>Dots & Boxes Game</title>
</head>
<body>
<script src="/js/global.js"></script>
<audio id="background-music" autoplay loop>
<source src="./assets/sounds/bgMusic.mp3" type="audio/mpeg" />
</audio>
<div class="settings">
<video autoplay muted class="video" loop id="myVideo">
<source src="/assets/videos/1.mp4" type="video/mp4" />
</video>
<div class="whole-background">
<nav class="navbarr">
<div class="logo" style="margin-top: 14px;">
<a href="#" style="font-size: 1.5em;">Dots & Boxes ⚄</a>
</div>
<ul class="nav-links">
<li><a href="index.html"><i class="fas fa-home"></i> Home</a></li>
<li><a href="./pages/about.html"><i class="fas fa-info-circle"></i> About Us</a></li>
<li><a href="./pages/FAQs.html"><i class="fas fa-question-circle"></i> FAQs</a></li>
<li><a href="./pages/contributors.html"><i class="fas fa-users"></i> Contributors</a></li>
<li><a href="./pages/testimonials.html"><i class="fas fa-users"></i>Testimonials</a></li>
</ul>
<div class="hamburger">
<i class="fas fa-bars"></i>
</div>
</nav>
<button class="sticky-button" onclick="openForm()">Feedback</button>
<div class="feed-bg">
<div id="formContainer" class="form-container">
<div class="form-content">
<div class="sub">
<h5>We'd Love Your Feedback!</h5>
<span class="close-button" onclick="closeForm()">×</span>
</div>
<div class="wrapper">
<input type="radio" name="rate" id="star-1" />
<input type="radio" name="rate" id="star-2" />
<input type="radio" name="rate" id="star-3" />
<input type="radio" name="rate" id="star-4" />
<input type="radio" name="rate" id="star-5" />
<div class="content">
<div class="outer">
<div class="emojis">
<li class="slideImg">
<img
src="./assets/images/emojis/emoji-1-bg.png"
alt="emoji"
/>
</li>
<li>
<img
src="./assets/images/emojis/emoji-2-bg.png"
alt="emoji"
/>
</li>
<li>
<img
src="./assets/images/emojis/emoji-3.png"
alt="emoji"
/>
</li>
<li>
<img
src="./assets/images/emojis/emoji-4-bg.png"
alt="emoji"
/>
</li>
<li>
<img
src="./assets/images/emojis/emoji-5-bg.png"
alt="emoji"
/>
</li>
</div>
</div>
<div class="stars">
<label for="star-1" class="star-1 fas fa-star"></label>
<label for="star-2" class="star-2 fas fa-star"></label>
<label for="star-3" class="star-3 fas fa-star"></label>
<label for="star-4" class="star-4 fas fa-star"></label>
<label for="star-5" class="star-5 fas fa-star"></label>
</div>
</div>
<div class="footer">
<span class="text"></span>
<span class="numb"></span>
</div>
</div>
<form id="feedbackForm">
<div class="form-group-1">
<div class="form-group">
<label for="firstName">Name</label>
<input
type="text"
required
id="firstName"
name="firstName"
placeholder="Enter Name"
/>
</div>
<div class="form-group">
<label for="email">Email</label>
<input
type="email"
required
id="email"
name="email"
placeholder="Enter Email"
/>
</div>
</div>
<div class="form-group">
<label for="feedback">Describe your feedback</label>
<textarea
id="feedback"
required
name="feedback"
rows="4"
placeholder="Tell us how we can improve ..."
></textarea>
</div>
<div class="submitbtn">
<input type="submit" value="Submit" class="buttons" />
<input type="reset" value="Reset" class="buttons" />
</div>
</form>
</div>
</div>
</div>
<div id="thankYouPopup" class="popup hidden">
<div class="popup-content">
<span class="close-button" onclick="closeThankYouPopup()"
>×</span
>
<h3>Thank You!</h3>
<p>Your feedback has been submitted.</p>
</div>
</div>
<div class="form">
<!-- <h1 class="heading">▂ ▄ ▅ ▆ ▇ █ MAXIMISE BOXES!! █ ▇ ▆ ▅ ▄ ▂</h1> -->
<h1 class="heading">▂ ▄ █ MAXIMISE BOXES!! █ ▄ ▂</h1>
<h3 class="instructions-heading" style="text-decoration: underline">
Instructions
</h3>
<p class="instructions">
1. 🧩 Select the number of rows, columns, and players. <br />
2. 🏆 The player who has the maximum number of boxes on the board is
the winner. <br />
3. 🔄 Players will switch after every turn. But the player who fills
the last box will get one extra chance consecutively. 🎉 <br />
</p>
<a href="./pages/howtoplay.html" class="button"
>Read Detailed Instructions</a
>
</div>
<div class="form">
<div class="right-background">
<div class="form-item">
<label for="theme-select" style="text-decoration: underline"
>Select Theme:</label
>
<select id="theme-select">
<option value="1">Default</option>
<option value="2">Theme 1</option>
<option value="3">Theme 2</option>
</select>
</div>
<div class="form-item">
<label for="difficulty">Select Difficulty:</label>
<div class="difficulty">
<button class="d-type active easy">Easy</button>
<button class="d-type">Normal</button>
<button class="d-type">Hard</button>
<button class="d-type">Expert</button>
</div>
</div>
<div class="form-item">
<label for="players-count"
>Players : <span class="details">(between 2 and 6)</span></label
>
<input
type="number"
id="players-count"
min="2"
max="6"
value="2"
/>
<span class="player"></span>
</div>
<div class="button-container">
<a
href="./pages/game.html"
class="start-btn button1"
id="start-btn"
aria-label="START"
>
START
</a>
<button class="reset-btn button1" id="reset-btn">RESET</button>
<button id="music-toggle" onclick="toggleMusic()">
Music Off
</button>
</div>
</div>
</div>
</div>
<div class="author">
<div class="fotbar">
<a href="./pages/howtoplay.html"><i class="fas fa-gamepad"></i> HowToPlay?</a>
<a href="./pages/termsofservice.html"><i class="fas fa-file-contract"></i> TermsOfService</a>
<a href="./pages/privacypolicy.html"><i class="fas fa-user-shield"></i> PrivacyPolicy</a>
<a href="./pages/licensing.html"><i class="fas fa-copyright"></i> Licensing</a>
</div>
<div id="copyright">
©
<script>
document.write(new Date().getFullYear());
</script>
Made with ❤️ by
</div>
<div class="footer">
<div class="social-icons" style="display: flex; justify-content: flex-end;">
<a href="https://github.com/ChromeGaming" style="font-size: 12px;">Chrome Gaming</a>
<a href="https://github.com/ChromeGaming/Dot-Box" target="_blank" style="font-size: 16px;">
<i class="fab fa-github"></i>
</a>
<a href="https://discord.gg/2HTCFrSvPB" target="_blank" style="font-size: 16px;">
<i class="fab fa-discord"></i>
</a>
</div>
</div>
</div>
</div>
<!-- <div class="flex">
<div class="board"></div>
<div class="score">
<div class="players"></div>
<video autoplay muted class="video" loop id="myVideo2">
<source src="/assets/videos/2.mp4" type="video/mp4" />
</video>
<div class="player-turn">
<div class="bg"><span class="name">PlayerX</span>'s turn</div>
</div>
<div class="flex-btn">
<button class="mute-btn button">Mute</button>
<button class="restart-btn button">Restart</button>
</div>
</div>
</div> -->
<script
src="//code.tidio.co/fdylvmddtyb7vzsk5frdt3ncrk6cwobs.js"
async
></script>
</body>
<script src="https://cdn.jotfor.ms/s/umd/latest/for-form-embed-handler.js"></script>
</html>