-
Notifications
You must be signed in to change notification settings - Fork 932
Expand file tree
/
Copy pathindex.html
More file actions
46 lines (41 loc) 路 1.68 KB
/
Copy pathindex.html
File metadata and controls
46 lines (41 loc) 路 1.68 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Memory Game</title>
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap" rel="stylesheet" />
<!-- Stylesheet -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div style="text-align: center;
margin-top: 5px;
font-size: 30px;
padding: 5px; "><a href="https://kunjgit.github.io/GameZone/"><i style="color:black;" class="fas fa-home home-icon"></i></a></div>
<div class="wrapper">
<div class="stats-container">
<div id="moves-count"></div>
<div id="time"></div>
</div>
<div class="instructions">
<h1>INSTRUCTIONS</h1>
<p><b>1.</b> Click on each block to turn it</p>
<p><b>2.</b> Remember the position of each block image</p>
<p><b>3.</b> Click on another block and try to remember on which block have you seen the same image</p>
<p><b>4.</b> Your Number of moves are counted</p></div>
<div class="game-container"></div>
<button id="stop" class="hide">Stop Game</button>
<div style="display: flex; gap: 10px;">
<button id="pause" >Pause Game</button>
</div>
</div>
<div class="controls-container">
<p id="result"></p>
<button id="start">Start Game</button>
</div>
<!-- Script -->
<script src="script.js"></script>
</body>
</html>