-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
56 lines (49 loc) · 1.81 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
<!DOCTYPE html>
<html>
<head>
<!-- <meta charset="UTF-8">
<meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0,user-scalable=no"/>
<title>Document</title>
<link rel="stylesheet" href="css/style1.css"> -->
<link rel="stylesheet" href="index.css">
</head>
<body>
<canvas id="myCanvas"></canvas>
<script type="module" src="index.js"></script>
<!-- <script src="judge.js"></script> -->
<!-- <script src="table.js"></script> -->
<!-- <script src="brain.js"></script> -->
<!-- <script src="draw.js"></script> -->
<!-- <div id="header">
<h1 class="title1">2048</h1>
<h3 class="title2">Created by Cheng Xiao Gang</h3>
<div class="wrapper">
<div class="score-wrapper">
<span id="txt">score:</span>
<span id="score">0</span>
</div>
<div class="newgame-wrapper">
<a href="javascript:newgame()" id="newGame">New Game</a>
</div>
</div>
</div>
<div id="grid-container">
<div class="grid-cell" id="grid-cell-0-0"></div>
<div class="grid-cell" id="grid-cell-0-1"></div>
<div class="grid-cell" id="grid-cell-0-2"></div>
<div class="grid-cell" id="grid-cell-0-3"></div>
<div class="grid-cell" id="grid-cell-1-0"></div>
<div class="grid-cell" id="grid-cell-1-1"></div>
<div class="grid-cell" id="grid-cell-1-2"></div>
<div class="grid-cell" id="grid-cell-1-3"></div>
<div class="grid-cell" id="grid-cell-2-0"></div>
<div class="grid-cell" id="grid-cell-2-1"></div>
<div class="grid-cell" id="grid-cell-2-2"></div>
<div class="grid-cell" id="grid-cell-2-3"></div>
<div class="grid-cell" id="grid-cell-3-0"></div>
<div class="grid-cell" id="grid-cell-3-1"></div>
<div class="grid-cell" id="grid-cell-3-2"></div>
<div class="grid-cell" id="grid-cell-3-3"></div>
</div> -->
</body>
</html>