-
Notifications
You must be signed in to change notification settings - Fork 1
/
demo.html
40 lines (38 loc) · 1.18 KB
/
demo.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
<!doctype html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<title>2048</title>
<link rel="stylesheet" href="lib/game.css" />
</head>
<body>
<header class="clearfix">
<div class="fl game-title"><span>2048</span></div>
<div class="fr game-score">
<div class="game-score-div clearfix">
<div class="this-score score-wrap fl">
<p>分数</p>
<h3>0</h3>
</div>
<div class="history-score score-wrap fr">
<p>历史最高成绩</p>
<h3>0</h3>
</div>
</div>
<div class="restart-div">
<button type="button" class="restart">重新开始</button>
</div>
</div>
</header>
<ul class="game-ul">
</ul>
<!-- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.js"></script>-->
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="lib/game.js"></script>
<script>
$(function () {
game2048.init('body');
});
</script>
</body>
</html>