-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
116 lines (102 loc) · 4.99 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Memory Match Game</title>
<link rel = "stylesheet" href ="./styles.css"/>
<style>
@import url('https://fonts.googleapis.com/css2?family=Kalam&display=swap');
</style>
</head>
<body>
<h1 class = "header"> Memory Match</h1>
<div class = 'flexCenter'>
<div class = "gameScreen">
<div class ="gameTiles" id="gameTiles">
<div class = "tile" id="tile1" >
<img class = "back" src = "./images/img/skater-pic.jpeg" alt = "cartoon hockey player">
</div>
<div class = "tile" id="tile2" >
<img class = "back" src ="./images/img/skater-pic.jpeg"alt="cartoon hockey player" >
</div>
<div class = "tile" id="tile3" >
<img class = "back" src = "./images/img/goalie-pic.gif" alt = "cartoon hockey goalie">
</div>
<div class = "tile" id="tile4">
<img class = "back" src = "./images/img/goalie-pic.gif" alt = "cartoon hockey goalie" >
</div>
<div class = "tile " id="tile5">
<img class = "back" src = "./images/img/skates2-pic.png" alt=" two hockey skates">
</div>
<div class = "tile " id="tile6" >
<img class = "back" src = "./images/img/skates2-pic.png" alt=" two hockey skates" >
</div>
<div class = "tile " id="tile7" >
<img class = "back" src ="./images/img/hockey-puck-pic.jpeg" alt = "hockey puck">
</div>
<div class = "tile " id="tile8" >
<img class = "back" src ="./images/img/hockey-puck-pic.jpeg" alt = "hockey puck">
</div>
<div class = "tile " id="tile9" >
<img class = "back" src ="./images/img/goalie-mask-pic.png" alt = "goalie mask">
</div>
<div class = "tile " id="tile10" >
<img class = "back" src= "./images/img/goalie-mask-pic.png" alt = "goalie mask">
</div>
<div class = "tile " id="tile11" >
<img class = "back" src ="./images/img/penguin-pic.png" alt ="cartoon penguin playing hockey">
</div>
<div class = "tile " id="tile12" >
<img class = "back" src = "./images/img/penguin-pic.png" alt ="cartoon penguin playing hockey" >
</div>
<div class = "tile " id="tile13" >
<img class = "back" src = "./images/img/stick-and-puck-pic.jpeg" alt="hockey stick and puck">
</div>
<div class = "tile " id="tile14" >
<img class = "back" src = "./images/img/stick-and-puck-pic.jpeg" alt="hockey stick and puck">
</div>
<div class = "tile " id="tile15" >
<img class = "back" src = "./images/img/skate-pic.jpeg" alt = "single hockey skate">
</div>
<div class = "tile " id="tile16" >
<img class = "back" src ="./images/img/skate-pic.jpeg" alt = "single hockey skate">
</div>
</div>
<!-- can add more tiles if I get to adding more difficulty -->
</div>
<div class="gameButtons">
<!-- How to play modal -->
<button class="button" id="gameRules"> How To Play </button>
<!-- modal -->
<div id="rulesModal" class="rulesModal">
<!-- content -->
<div class ="rulesContent">
<span class="close">×</span>
<p>Select any two tiles to look for a match.<br>
Matching tiles will stay flipped over, otherwise the tiles will flip back. <br>
Keep trying until all tiles are matched</p>
</div>
</div>
<button class="button" id="gameStart"> Start Game </button>
<!-- Start game modal -->
<div id="startModal" class="startModal">
<!-- content -->
<div class ="startContent">
<span class="start">×</span>
<p> 🏒 Click on any tile to start 🏒 <br>
After you close this window of course!</p>
</div>
</div>
<button class="button" id="shuffle"> Restart Game </button>
<!-- button for choosing difficulty -->
<!--<button class="button" id="Choose Difficulty"> Choose Difficulty</button> -->
<!-- button for multiple deck styles -->
<!-- <button class="button" id="Choose Deck"> Choose Deck</button> -->
</div>
</div>
</div>
</body>
<script src="./index.js"></script>
</html>