forked from ibdknox/ChromaShift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
175 lines (161 loc) · 6.14 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
<html>
<head>
<title>ChromaShift</title>
<link href='http://fonts.googleapis.com/css?family=Share+Tech' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="/assets/index.css">
<script src="/assets/js/lib/jquery.js" type="text/javascript"></script>
<script src="/assets/js/lib/box2dweb.min.js" type="text/javascript"></script>
<script src="/assets/js/lib/stats.js" type="text/javascript"></script>
<script src="/assets/js/game.js" type="text/javascript"></script>
<script src="/assets/js/brush.js" type="text/javascript"></script>
<script src="/assets/js/input.js" type="text/javascript"></script>
<script src="/socket.io/socket.io.js"></script>
<script src="http://localhost:8833/socket.io/lighttable/ws.js" type="text/javascript"></script>
<script>
$(document).ready(function(){
$("#help").click(function(event){
$("#main-page").hide();
$("#help-page").show();
event.preventDefault();
})
})
$(document).ready(function(){
$("#back").click(function(event){
$("#help-page").hide();
$("#main-page").show();
event.preventDefault();
})
})
</script>
</head>
<body id="home-body">
<iframe id="nko" src="http://nodeknockout.com/iframe/kodowa" frameborder=0 scrolling=no allowtransparency=true width=115 height=25>
</iframe>
<div id="main-page" class="center-block">
<h1><img src="/assets/img/logo.png" alt="ChromaShift"></h1>
<div id="link-box">
<a href="#" class="links" id="learn">Learn</a>
<a href="#" class="links" id="fight">Join the Race!</a>
</div>
<a href="#" id="help">?</a>
<div id="stats">
<div class="full-bars">
<span id="green" class="bars"></span>
</div>
<div class="full-bars">
<span id="blue" class="bars"></span>
</div>
<!-- <img id="bunny-stats" src="bunny_turtle.jpg" alt="graph"/> -->
</div>
</div>
<div id="loading" class="center-block">
<h1><img src="/assets/img/logo.png" alt="ChromaShift"></h1> <p>Loading...</p>
</div>
<div id="win" class="center-block">
<h1><img src="/assets/img/logo.png" alt="ChromaShift"></h1>
<p>VICTORY</p>
</div>
<div id="lose" class="center-block">
<h1><img src="/assets/img/logo.png" alt="ChromaShift"></h1>
<p>DEFEAT</p>
</div>
<div id="searching" class="center-block">
<h1><img src="/assets/img/logo.png" alt="ChromaShift"></h1> <p>Looking for a match...</p>
</div>
<div id="game-container" class="no-opponent">
<h1><img src="/assets/img/logo.png" alt="ChromaShift"></h1>
<canvas id="game" width="1000" height="500"></canvas>
<canvas id="opponent-game" width="500" height="400"></canvas>
</div>
<div id="help-page" class="center-block">
<a href="#" id="back">Back</a>
<div id="about-block">About
<p id="about-text">
When humanity spread to the stars, it inhabited and colonized new planets to call home. Far away from Earth, these new planets set up their own government to unite them and guide them. Two new nations vie for a coveted spot in the congressional Quorum.
Khloros, the green planet, filled with swirling vapors and towering spires built above the toxic fumes.
Aegir, the blue planet, with its vast oceans, steep fjords, and shining capital city in the mountains.
Like the Olympics of ancient times, each planet is to send its champions to compete. In the arena, platforms and hazards from both planets deter the champions from their goal, but champions can chromashift to pass through native colors - or materialize obstacles to stop their opponents. The victorious world will join the Quorum. Which will it be? </p>
</div>
<!--
<table id="legend" border=1px>
<tbody>
<tr>
<td>
<img class="things-in-game" src="2814818486780322_GuVgk0W6_c.jpg" alt="">
</td>
<td class="things-text">Muffin powder ice cream ice cream cheesecake pie</td>
</tr>
<tr>
<td>
<img class="things-in-game" src="16184879880811295_8egznXjr_c.jpg" alt="">
</td>
<td class="things-text">Muffin powder ice cream ice cream cheesecake pie</td>
</tr>
<tr>
<td>
<img class="things-in-game" src="165014773816391254_UPLcLkBJ_c.jpg" alt="">
</td>
<td class="things-text">Muffin powder ice cream ice cream cheesecake pie</td>
</tr>
<tr>
<td>
<img class="things-in-game" src="29695678763253880_rLdyuoBd_c.jpeg" alt="">
</td>
<td class="things-text">Muffin powder ice cream ice cream cheesecake pie</td>
</tr>
<tr>
<td>
<img class="things-in-game" src="274227064779965812_bpaHcU8K_c.jpeg" alt="">
</td>
<td class="things-text">Muffin powder ice cream ice cream cheesecake pie</td>
</tr>
<tr>
<td>
<img class="things-in-game" src="puppy.jpg" alt="">
</td>
<td class="things-text">Muffin powder ice cream ice cream cheesecake pie</td>
</tr>
<tr>
<td>
<img class="things-in-game" src="242279654923489858_MRfKY2i4_c.jpg" alt="">
</td>
<td class="things-text">Muffin powder ice cream ice cream cheesecake pie</td>
</tr>
<tr>
<td>
<img class="things-in-game" src="151644712422995516_PG2nkT1I_f.jpg" alt="">
</td>
<td class="things-text">Muffin powder ice cream ice cream cheesecake pie</td>
</tr>
</table>
-->
</div>
<script src="/assets/js/generated/bootstrap.js" type="text/javascript"></script>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Chroma Shift</title>
<link href='http://fonts.googleapis.com/css?family=Share+Tech' rel='stylesheet' type='text/css'>
<script type="text/javascript" src="jquery.js"></script>
<script>
$(document).ready(function(){
$("#help").click(function(event){
$("#main-page").hide();
$("#help-page").show();
event.preventDefault();
})
})
$(document).ready(function(){
$("#back").click(function(event){
$("#help-page").hide();
$("#main-page").show();
event.preventDefault();
})
})
</script>
</head>
</body>
</html>