-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
148 lines (136 loc) · 5.74 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Matching Game</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="The game board consists of sixteen cards arranged in a grid. The deck is made up
of eight different pairs of cards, each with different symbols on one side. The cards are arranged randomly on the
grid with the symbol face down. The gameplay rules are very simple: flip over two hidden cards at a time to locate
the ones that match!">
<!--Logo Icon-->
<link rel="apple-touch-icon" sizes="57x57" href="img/ico/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="img/ico/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="img/ico/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="img/ico/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="img/ico/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="img/ico/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="img/ico/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="img/ico/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="img/ico/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="img/ico/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="img/ico/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="img/ico/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="img/ico/favicon-16x16.png">
<link rel="manifest" href="img/ico/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<link rel="stylesheet prefetch" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css"
integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
<link rel="stylesheet prefetch" href="https://fonts.googleapis.com/css?family=Raleway">
<link rel="stylesheet" href="css/app.css">
</head>
<body>
<div class="container">
<div id="victoryModal" class="modal">
<div class="modal-content">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 130.2 130.2">
<circle class="path circle" fill="none" stroke="#02ccba" stroke-width="6" stroke-miterlimit="10"
cx="65.1" cy="65.1" r="62.1"></circle>
<polyline class="path check" fill="none" stroke="#02ccba" stroke-width="6" stroke-linecap="round"
stroke-miterlimit="10" points="100.2,40.2 51.5,88.8 29.8,67.5 "></polyline>
</svg>
<div class="pulse">
<h2>Congratulations!</h2>
<ul class="stars">
<li><i class="fas fa-star"></i></li>
<li><i class="fas fa-star"></i></li>
<li><i class="fas fa-star"></i></li>
<li><i class="fas fa-star"></i></li>
<li><i class="fas fa-star"></i></li>
</ul>
<p id="v-moves">If you're getting this message, you're cheating!</p>
<div id="victoryClose" class="button"><p>Play again</p></div>
</div>
</div>
</div>
<header>
<h1>Matching Game</h1>
</header>
<div class="score-panel">
<ul class="stars">
<li><i class="fas fa-star"></i></li>
<li><i class="fas fa-star"></i></li>
<li><i class="fas fa-star"></i></li>
<li><i class="fas fa-star"></i></li>
<li><i class="fas fa-star"></i></li>
</ul>
<span id="moves">0 moves</span>
<div class="right-panel">
<span id="restart"><i class="fa fa-undo"></i> Restart</span>
<i class="far fa-clock"></i> <span id="clock">0 seconds</span>
</div>
</div>
<ul id="deck">
<li class="card">
<i class="far fa-gem"></i>
</li>
<li class="card">
<i class="far fa-paper-plane"></i>
</li>
<li class="card">
<i class="fa fa-anchor"></i>
</li>
<li class="card">
<i class="fa fa-bolt"></i>
</li>
<li class="card">
<i class="fa fa-cube"></i>
</li>
<li class="card">
<i class="fa fa-anchor"></i>
</li>
<li class="card">
<i class="fa fa-leaf"></i>
</li>
<li class="card">
<i class="fa fa-bicycle"></i>
</li>
<li class="card">
<i class="far fa-gem"></i>
</li>
<li class="card">
<i class="fa fa-bomb"></i>
</li>
<li class="card">
<i class="fa fa-leaf"></i>
</li>
<li class="card">
<i class="fa fa-bomb"></i>
</li>
<li class="card">
<i class="fa fa-bolt"></i>
</li>
<li class="card">
<i class="fa fa-bicycle"></i>
</li>
<li class="card">
<i class="far fa-paper-plane"></i>
</li>
<li class="card">
<i class="fa fa-cube"></i>
</li>
</ul>
<footer>
<p>
Made by Minh-Khang Vu<br>
<a href="https://github.com/minhkhang1795/udacity-memory-game" target="_blank"
rel="noopener">View on Github</a>
</p>
</footer>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="js/app.js"></script>
</body>
</html>