-
Notifications
You must be signed in to change notification settings - Fork 11
/
index.html
190 lines (187 loc) · 6.87 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
<!DOCTYPE html>
<html>
<head>
<title>FIND THE MATCH</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="assets/css/match.css">
<script src="assets/js/lib/chance.js"></script>
</head>
<body>
<div class="modal-overlay"></div>
<div>
<!-- How to play? Modal -->
<div class="modal" id="howToPlayModal" tabindex="-1" role="dialog">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h2 class="modal-title">
How to play?
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</h2>
</div>
<div class="modal-body">
<ol class="numbered-list">
<li>Click on a tile to reveal its color.</li>
<li>Guess the tile with same color.</li>
<li class="sublist">
<ol class="alpha-list">
<li>If right, marks increase by 25.</li>
<li>If wrong, marks decrease by 5.</li>
</ol>
</li>
<li>The game is played till all colors are revealed.</li>
</ol>
<br>
<br>
Note :
<ul>
<li>Colors are in RGB code.</li>
<li>No more than two colors are same.</li>
</ul>
</div>
<div class="modal-footer">
<button type="button" class="btn" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- Developers Modal -->
<div class="modal" id="developersModal" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h2 class="modal-title">
Developers
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</h2>
</div>
<div class="modal-body dev-modal">
<div class="dev-profile-container">
<a class="dev-profile" href="https://github.com/i-vishi">
<img class="pics" alt="Portrait photo of Vishal Gaur" src="assets/photos/vishal.jpg" />
<span>Vishal Gaur</span>
</a>
<a class="dev-profile" href="https://github.com/antew7">
<img class="pics" alt="Portrait photo of Ananya Tewari" src="assets/photos/ananya.jpg" />
<span>Ananya Tewari</span>
</a>
<a class="dev-profile" href="https://github.com/ravivarshney01">
<img class="pics" alt="Portrait photo of Ravi Varshney" src="assets/photos/ravi.jpg" />
<span>Ravi Varshney</span>
</a>
</div>
<div class="love">
Made With ❤ By <a href="https://github.com/VAR-solutions">VAR Solutions</a>
</div>
</div>
</div>
</div>
</div>
<!-- Congratulations Modal -->
<div class="modal" id="congrat" tabindex="-1" role="dialog" aria-hidden="true" >
<div class="modal-dialog" role="document">
<div class="modal-top">
<img class="modal-icon u-imgResponsive" src="https://dl.dropboxusercontent.com/s/e1t2hhowjcrs7f5/100daysui_100icon.png" alt="Trophy" />
<div class="modal-header">Congratulations</div>
<div class="modal-subheader">
You have successfully completed the Game
<br>Your Score is: <span id="final">234</span>
</div>
</div>
<div class="modal-bottom">
<div class="modal-footer">
<button type="button" class="btn" onclick="init()" data-dismiss="modal">Play Again</button>
<button type="button" class="btn" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</div>
<div class="app-container">
<!-- Left Side-bar -->
<div class="navbar left-nav">
<h1 class="title">Find The Match</h1>
<ul class="right-nav-links">
<li class="nav-li"><a href="#" data-toggle="modal" data-target="#howToPlayModal">How to play?</a></li>
<li class="nav-li"><a href="#" data-toggle="modal" data-target="#developersModal">Developers</a></li>
</ul>
</div>
<!-- Body of Game -->
<div class="container">
<div class="game-grid">
<div class="game-tile">
<div class="thumbnail"></div>
</div>
<div class="game-tile">
<div class="thumbnail"></div>
</div>
<div class="game-tile">
<div class="thumbnail"></div>
</div>
<div class="game-tile">
<div class="thumbnail"></div>
</div>
<div class="game-tile">
<div class="thumbnail"></div>
</div>
<div class="game-tile">
<div class="thumbnail"></div>
</div>
<div class="game-tile">
<div class="thumbnail"></div>
</div>
<div class="game-tile">
<div class="thumbnail"></div>
</div>
<div class="game-tile">
<div class="thumbnail"></div>
</div>
<div class="game-tile">
<div class="thumbnail"></div>
</div>
<div class="game-tile">
<div class="thumbnail"></div>
</div>
<div class="game-tile">
<div class="thumbnail"></div>
</div>
<div class="game-tile">
<div class="thumbnail"></div>
</div>
<div class="game-tile">
<div class="thumbnail"></div>
</div>
<div class="game-tile">
<div class="thumbnail"></div>
</div>
<div class="game-tile">
<div class="thumbnail"></div>
</div>
</div>
</div>
<!-- Right Side-bar -->
<div class="navbar right-nav">
<p class="score-board">
Score <span class="mobile-hidden">Board</span>
</p>
<div>
<p class="score-container">
<span class="score-display" id="score">000</span>
</p>
<button class="button" onclick="init()"><span class="button-text">Reset</span></button>
</div>
<p class="sidelove mobile-hidden">Made With ❤ By VAR Solutions</p>
</div>
</div>
<script src="assets/js/lib/jquery-3.3.1.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"
crossorigin="anonymous"></script>
<script src="assets/js/matches.js"></script>
</body>
</html>