-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
111 lines (104 loc) · 3.65 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
<!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 Block</title>
<link rel="stylesheet" href="./css/plugins/Fontawesome/css/all.min.css">
<link rel="stylesheet" href="./css/style.css">
</head>
<body class="flex-center">
<!-- #region Entry Page -->
<div id="EntryPage" class="flex-center">
<h1 class="title">Memory Block</h1>
<button id="BtnStart">Start Game</button>
<button id="BtnHelp">Help</button>
<button id="BtnExit">Exit</button>
</div>
<!-- #endregion -->
<!-- #region Help Page -->
<div id="HelpPage" class="abs-center">
<h1 class="title">玩法說明</h1>
<ul>
<li>初始畫面:有四個方塊,對應四個音效,難度 1 級,玩家有 5 點生命值。</li>
<li>電腦回合:由電腦先開始,隨機出題,後輪到玩家回合</li>
<li>玩家回合:請玩家依電腦出題順序點擊對應的方塊。</li>
<li>
勝負判定:玩家點擊與電腦一致,玩家𡣍得這一回合,並進行下一回合;
點擊與電腦不一致,則扣一點生命值,生命值歸 0,玩家輸並結束遊戲。
</li>
<li>關卡說明:共 15 關,每 5 關一個級別,總共 3 級,方塊數量隨級別數增加。</li>
</ul>
<button id="BtnBack">返回</button>
</div>
<!-- #endregion -->
<!-- #region Loading Page -->
<div id="LoadingPage" class="flex-center">
<div class="dot-roller">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
<div class="status"></div>
</div>
<!-- #endregion -->
<!-- #region Countdown Page -->
<div id="CountdownPage" class="abs-center flex-center">
<h1 id="countdown">Count page</h1>
</div>
<!-- #endregion -->
<!-- #region Game information board -->
<div class="infos">
<h2>Project 4.</h2>
<h1>
Memory <br>
Block
</h1>
<h3 class="status"></h3>
<h3 class="life">
<span>LIFE:</span>
<i class="fa-solid fa-heart"></i>
<i class="fa-solid fa-heart"></i>
<i class="fa-solid fa-heart"></i>
<i class="fa-solid fa-heart"></i>
<i class="fa-solid fa-heart"></i>
</h3>
<h3 class="stars">
<span>Difficulty:</span>
<i class="fa-regular fa-star"></i>
<i class="fa-regular fa-star"></i>
<i class="fa-regular fa-star"></i>
</h3>
</div>
<!-- #endregion -->
<!-- #region Blocks -->
<div class="blocks">
<div class="row">
<div class="block flex-center block-red"></div>
<div class="block flex-center block-yellow"></div>
</div>
<div class="row">
<div class="block flex-center block-blue"></div>
<div class="block flex-center block-white"></div>
</div>
<div class="row">
<div class="input-status"></div>
</div>
</div>
<!-- #endregion -->
<!-- #region Script -->
<!-- jQuery -->
<script src="./js/plugins/jquery-3.6.0.min.js"></script>
<!-- Sweetalert2 -->
<script src="./js/plugins/sweetalert2.all.min.js"></script>
<!-- App -->
<script type="module" src="./js/app.js"></script>
<!-- #endregion -->
</body>
</html>