Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
106 lines (90 loc) · 2.86 KB
/
Copy pathindex.html
File metadata and controls
106 lines (90 loc) · 2.86 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
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
<!DOCTYPE html>
<html lang="cs">
<head>
<meta charset="utf-8">
<meta name="description" content="On this page, players can try a simple card matching game with up to 4 friends.">
<meta name="author" content="Mai Phuong Bui">
<link rel="stylesheet" type="text/css" href="resources/css/style.css">
<link rel="stylesheet" type="text/css" href="resources/css/ionicons.css">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Thasadith:ital,wght@0,400;0,700;1,400&display=swap"
rel="stylesheet">
<title>Mix and Match</title>
</head>
<body>
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script src="resources/js/app.js"></script>
<h1 class="headline">Mix and Match</h1>
<div class="game">
<div class="game-info">
<div class="player-info">
<div id="player-container">
</div>
</div>
<div class="functions">
<div id="restart-btn">
<i id="restart" class="ion-refresh"></i>
</div>
<button class="btn highscore-board">
Highscore board
</button>
</div>
</div>
<div id="gameBoard">
</div>
</div>
<div id="popup1" class="overlay hidden">
<div class="popup">
<h2>Congratulations</h2>
<div id="close">×</div>
<div class="content-1">
Congratulations <span id="playerName"></span>, you're a winner!
</div>
<div class="content-2">
<p>You made <span id="finalMove"> </span> moves! </p>
<p>Score: <span id="finalScore"></span></p>
</div>
<button id="play-again" class="btn">
Play again
</button>
<button class="btn highscore-board">
Highscore board
</button>
</div>
</div>
<div id="popup2" class="overlay hidden">
<div class="popup small">
<h2>Welcome, pick a number of players</h2>
<ul class="list">
<li class="list-item">1</li>
<li class="list-item">2</li>
<li class="list-item">3</li>
<li class="list-item">4</li>
</ul>
<form id="playerForm">
<div></div>
<button id="play" class="btn">Play</button>
</form>
</div>
</div>
<div id="popup3" class="overlay hidden">
<div class="popup small">
<h2>Pick a gameboard size</h2>
<ul class="list size">
<li id="16cards">4x4</li>
<li id="36cards">6x6</li>
<li id="64cards">8x8</li>
</ul>
<button id="next" class="btn">Next</button>
</div>
</div>
<div id="popup4" class="overlay hidden">
<div class="popup small">
<h2>Highscore Board</h2>
<div id="close2">×</div>
<table id="scoreboard">
</table>
</div>
</div>
</body>
</html>