-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
59 lines (51 loc) · 2.35 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Weasel Defense</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="Kevin Dungs">
<meta property="og:title" content="WeaselDefense">
<meta property="og:type" content="game">
<meta property="og:description" content="Protect your detector from the weasels!">
<meta property="og:image" content="assets/weasel.png">
<link rel="stylesheet" href="weasel.css">
<link rel="icon" href="assets/weasel.png" sizes="32x32" type="image/png">
</head>
<body>
<header id="Head">
<hgroup>
<h1>WeaselDefense</h1>
<p>Protect your detector from the weasels!</p>
</hgroup>
</header>
<canvas width="480" height="640" id="GameCanvas"></canvas>
<aside id="StatsBox">
<p class="row">Money: <span id="MoneyCounter">0</span> JTN</p>
<p class="row">Weasels: <span id="WeaselCounter">0</span></p>
</aside>
<aside id="Defeat">
<h1>You lose!</h1>
<p>The weasels destroyed your detector!</p>
<p>
You managed to kill <span id="WeaselsKilled">0</span> weasels before your detector's demise.
<a href="#" id="TwitterLink">Tweet about it.</a>
</p>
<img src="assets/defeat.jpg">
<p>Reload the page to play again!</p>
</aside>
<p id="AlphaWarning">
<emph>Warning!</emph> This is a very early <emph>alpha</emph> release of the game so don't expect too much.
Feel free to leave feedback or a pull request on <a href="https://github.com/kdungs/WeaselDefense">GitHub</a>.
</p>
<a href="https://github.com/kdungs/WeaselDefense">
<img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/365986a132ccd6a44c23a9169022c0b5c890c387/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png">
</a>
<noscript>Weasel Defense needs JavaScript to run!</noscript>
<script src="js/fundamentals.js"></script>
<script src="js/config.js"></script>
<script src="js/objects.js"></script>
<script src="js/animations.js"></script>
<script src="js/game.js"></script>
</body>
</html>