-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
173 lines (169 loc) · 5.61 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
<!DOCTYPE html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8" />
<title>Minesweeper</title>
<meta
name="description"
content="Minesweeper is a game where you try to find the mines in a grid of squares. "
/>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta
property="og:title"
content="Minesweeper is a game where you try to find the mines in a grid of squares."
/>
<meta property="og:type" content="" />
<meta property="og:url" content="https://n1md7.github.io/minesweeper/" />
<meta property="og:image" content="img/og-image.png" />
<link rel="manifest" href="site.webmanifest" />
<link rel="apple-touch-icon" href="icon.png" />
<!-- Place favicon.ico in the root directory -->
<link
rel="stylesheet"
href="node_modules/bootstrap/dist/css/bootstrap.min.css"
/>
<link rel="stylesheet" href="css/normalize.css" />
<link rel="stylesheet" href="css/main.css" />
<meta name="theme-color" content="#fafafa" />
<!-- <script src="https://sdk.crazygames.com/crazygames-sdk-v1.js"></script>-->
</head>
<body>
<button
id="menu"
class="btn btn-sm btn-outline-danger"
type="button"
data-bs-toggle="offcanvas"
data-bs-target="#menuContainer"
aria-controls="menuContainer"
>
Menu
</button>
<div id="spinner" class="d-flex justify-content-center">
<div class="spinner-border" role="status">
<span class="visually-hidden">Loading...</span>
</div>
</div>
<div
class="offcanvas offcanvas-top"
tabindex="-1"
id="menuContainer"
aria-labelledby="menuContainerLabel"
>
<div class="offcanvas-header">
<h5 id="menuContainerLabel">Menu</h5>
<button
type="button"
class="btn-close text-reset"
data-bs-dismiss="offcanvas"
aria-label="Close"
></button>
</div>
<div class="offcanvas-body">
<div class="row">
<h3 class="text-center text-muted">Change game difficulty</h3>
<div class="col-12">
<div class="d-flex justify-content-center">
<div class="btn-group btn-group-toggle" data-toggle="buttons">
<label class="btn btn-secondary active">
<input type="radio" name="mode" id="mode-beginner" /> Beginner
</label>
<label class="btn btn-secondary">
<input type="radio" name="mode" id="mode-intermediate" />
Intermediate
</label>
<label class="btn btn-secondary">
<input type="radio" name="mode" id="mode-expert" /> Expert
</label>
</div>
</div>
</div>
</div>
<div class="row mt-4 text-muted text-center">
<h3>Your best results</h3>
<div class="col-12">
<div id="beginner">Beginner: <strong>000</strong></div>
<div id="intermediate">Intermediate: <strong>000</strong></div>
<div id="expert">Expert: <strong>000</strong></div>
</div>
</div>
<div class="row mt-4 text-center">
<div class="col-12">
<p class="small text-muted">
P.S. Click on the <strong>Smile(🙂)</strong> to restart the game
</p>
</div>
</div>
<div class="row mt-3 text-center">
<div class="col-12">
<button id="mute" class="btn btn-sm btn-outline-dark" type="button">
Mute 🔇
</button>
</div>
</div>
<div class="row mt-3 text-center">
<div class="col-12">
<p id="signature" class="small text-muted">გვალო სარკო გოკონდა</p>
</div>
</div>
</div>
</div>
<div
class="modal fade"
id="watchAd"
tabindex="-1"
aria-labelledby="watchAdLabel"
aria-hidden="true"
>
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="watchAdLabel">Undo last move?</h5>
<button
type="button"
class="btn-close"
data-bs-dismiss="modal"
aria-label="Close"
></button>
</div>
<div class="modal-body">
<!--You can watch an Ad to undo last move and continue playing. Do you
wish to watch an Ad?-->
You can undo last move and continue playing
</div>
<div class="modal-footer">
<button
type="button"
class="btn btn-secondary"
data-bs-dismiss="modal"
>
No
</button>
<button type="button" class="btn btn-primary" id="adModalConfirm">
Yes, undo last move
</button>
</div>
</div>
</div>
</div>
<div
class="modal fade"
id="noAdAvailable"
tabindex="-1"
aria-labelledby="noAdAvailableLabel"
aria-hidden="true"
>
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">No Ad available at the moment. 😔</div>
</div>
</div>
</div>
<div class="container">
<div class="body"></div>
</div>
<script src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="js/vendor/modernizr-3.11.2.min.js"></script>
<script src="js/plugins.js"></script>
<script src="js/main.ts"></script>
</body>
</html>