forked from qw3n/4-elements-tower-defense
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
49 lines (49 loc) · 1.74 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
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>4 elements tower defense</title>
<link rel="stylesheet" href="game.css"/>
<style type="text/css" id="cjs"></style>
</head>
<body>
<div id="message">Welcome four elements tower defense. Your enemy will send ever increasing waves of enemies against you.
Build towers to defend your base. Build collectors to gather more of each resource. Everytime an enemy gets to the end
a building loses hitpoints and will eventually be destroyed. If all buildings are destroyed then there is nothing to stand between you and
the enemy and you will lose. Notice that different towers affect enemies differently. (For best results play in landscape orientation)</div>
<div id="start">Start Game</div>
<div id="gameCon">
<div id="base">
<!-- <div id="fort">
<div id="options">
<div id="build"></div>
<div id="attack"></div>
</div>
</div> -->
</div>
<canvas id="can"></canvas>
<div id="lost">You have survied <span id="sec"></span> seconds. <a href="">Try Again?</a></div>
<div id="ctrl">
<div id="resDis">
<div id="aDis">0</div>
<div id="eDis">0</div><br><br>
<div id="fDis">0</div>
<div id="wDis">0</div>
</div>
<div id="build">
<div id="aT" class="buildIcon atbg"></div>
<div id="eT" class="buildIcon etbg"></div>
<div id="fT" class="buildIcon ftbg"></div>
<div id="wT" class="buildIcon wtbg"></div>
<div id="aC" class="buildIcon acbg"></div>
<div id="eC" class="buildIcon ecbg"></div>
<div id="fC" class="buildIcon fcbg"></div>
<div id="wC" class="buildIcon wcbg"></div>
</div>
<div id="cost"></div>
</div>
</div>
<script type="text/javascript" src="game.js"></script>
<script type="text/javascript" src="svg.js"></script>
</body>
</html>