forked from ofagbemi/dart-tetris
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
31 lines (28 loc) · 860 Bytes
/
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Tetris</title>
<link rel="stylesheet" href="web/tetris.css">
</head>
<body>
<h1>Tetris</h1>
<div class="container" style="float:left;padding:4px;">
<canvas id="area" width="300px" height="500px"></canvas>
</div>
<div class="container" style="float:left;margin-left:8px;padding:20px;">
<canvas id="show-next" width="200px" height="200px"></canvas>
<div>
<h2>Score</h2>
<h1 id="score-box">0</h1>
</div>
<div style="text-align:center;margin-top:11px;">
<div class="button start-over">
<a href="#"><h2>Start Over</h2></a>
</div>
</div>
</div>
<script type="application/dart" src="tetris.dart.js"></script>
<script src="packages/browser/dart.js"></script>
</body>
</html>