-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
67 lines (66 loc) · 2.64 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Blaster</title>
<link rel="stylesheet" href="styles.css">
<script type="text/javascript" src="./assetmanager.js"></script>
<script type="text/javascript" src="./gameengine.js"></script>
<script type="text/javascript" src="./main.js"></script>
</head>
<body bgcolor="cornflowerblue">
<div id='container' position='relative'>
<canvas id="gameWorld" tabIndex = '0' width="600" height="700"></canvas>
<div id='cageBorder'></div>
<!-- <div id="center"></div> -->
<div id="rotateme">
<div id='center1'></div>
<div id='center2'></div>
<div id='center3'></div>
<div id='center4'></div>
</div>
<div id='blocker'></div>
<div id='blocker2'></div>
<div id='description'>
This game starts on auto-pilot. <br/> <br/>
Press A to take over controls. <br/><br/>
<!-- Save/Load on Pause screen.<br/> -->
Controls ------------------------------- <br/>
Toggle AI: A <br/>
Pause Game: P <br/>
Aim Cannon: Cursor <br/>
Fire Cannon: Left Click <br/>
<br/>
Gameplay ------------------------------- <br/>
Primary Colors: Red, Yellow, Blue <br/>
Secondary: Purple, Green, Orange <br/>
<br/>
16 Defending Orbs are randomly assigned <br/>
Either Primary or Secondary colors. <br/>
<br/>
Attacking Orbs are shot from the cannon, <br/>
but can only start as Primary colors. <br/>
<br/>
If an attacking orb hits a defender with <br/>
a primary color, and the colors match, <br/>
the defender dies. <br/>
<br/>
If the defender is Primary, but does not <br/>
match, the attackers color is added to the <br/>
defender. <br/>
<br/>
If the defender is a secondary color and, <br/>
that color contains the attackers primary <br/>
color, that color is removed from the color <br/>
of the defender.
<br/>
Attackers bounce off of the top border, <br/>
but disappear if they pass the bottom. <br/>
<br/>
HAVE FUN! ~ Caleb Smith.
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
</body>
</html>