-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
49 lines (49 loc) · 1.78 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>连连看游戏</title>
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="game-container" id="container">
<h1>连连看游戏</h1>
<div id="timer-bar"></div>
<div class="level-label">LEVEL <span id="level">1</span></div>
<div class="play-area" id="play-area">
<div class="game-board" id="gameBoard">
<!-- 游戏面板将动态生成 -->
</div>
<div class="overlay" id="game-over" style="visibility: hidden">
Game Over!
</div>
<div class="overlay" id="paused" style="visibility: hidden">
Paused
</div>
<div class="overlay" id="win" style="visibility: hidden">
You WIN!
<button class="button" id="next-level">下一级</button>
</div>
</div>
<div class="actions">
<button class="button" id="helpButton">提示</button>
<button class="button" id="pauseButton">暂停游戏</button>
<button class="button" id="restartButton">重新开始</button>
</div>
</div>
<script src="const.js"></script>
<script src="init-tiles.js"></script>
<script src="find-path.js"></script>
<script src="animation.js"></script>
<script src="timer.js"></script>
<script src="renderer.js"></script>
<script src="game.js"></script>
<script src="script.js"></script>
<script src="icp.js"></script>
</body>
</html>