-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
executable file
·94 lines (79 loc) · 2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
<title>Tiny Dungeon</title>
<style>
html, body {
background-color: #333;
color: #fff;
font-family: helvetica, arial, sans-serif;
margin: 0;
padding: 0;
font-size: 12pt;
}
#c, .social {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
margin: auto;
background: black;
}
.social {
width: 320px;
height: 480px;
display: none;
background: none;
}
a {
position: absolute;
display: block;
height: 60px;
text-indent: -9999px;
}
a.tweet {
top: 236px;
left: 8px;
width: 148px;
}
a.share {
top: 236px;
left: 164px;
width: 148px;
}
a.again {
top: 304px;
left: 8px;
width: 304px;
}
</style>
</head>
<body>
<canvas id="c" width="320" height="480"></canvas>
<div class="social">
<a class="tweet" target="_blank">Tweet</a>
<a class="share" target="_blank">Share</a>
<a class="again">Play Again</a>
</div>
<script src="js/lib/Tween.js"></script>
<script src="js/Utils.js"></script>
<script src="js/Font.js"></script>
<script src="js/Canvas.js"></script>
<script src="js/Tile.js"></script>
<script src="js/Board.js"></script>
<script src="js/Timer.js"></script>
<script src="js/Stats.js"></script>
<script src="js/Player.js"></script>
<script src="js/Text.js"></script>
<script src="js/Enemy.js"></script>
<script src="js/Dungeon.js"></script>
<script src="js/Screens.js"></script>
<script src="js/Loop.js"></script>
<script src="js/Game.js"></script>
<script src="js/Input.js"></script>
<script src="js/Dom.js"></script>
</body>
</html>