forked from getsquared-xyz/Player
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
45 lines (43 loc) · 1.72 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href='./style.css' rel='stylesheet' type='text/css'>
<title>GetSquared.xyz</title>
</head>
<body>
<section id="main">
<div id="main-title">GetSquared.xyz</div>
<p id="nickLabel">Nickname:</p>
<form action="./" id="join">
<input type="text" placeholder="Nick" id="nick" name="name" maxlength="20">
<br><br>
<select name="Server" id="server">
<option value="./">-Select-</option>
<!--<option value="http://marmalade.herohamp.xyz:2000/game">Marmalade - Stable</option>--->
<option value="http://jade.getsquared.xyz/game">Jade - Beta</option>
</select>
<br><br><!-- Sorry for BR's - Padding doesn't work nicely with input and button tags.-->
<input id="submit" type="submit" value="Play!">
</form>
<p id="instructions">
W/A/S/D to move<br>Space to drop a corner<br>Trap players between your corners to kill them
</p>
<br>
<br>
<i><a href="/donate.html" style="font-size:11px;">Say, why don't you donate?</a></i>
</section>
<script type="text/javascript">
var screenSize = {
width: window.innerWidth || document.body.clientWidth,
height: window.innerHeight || document.body.clientHeight
}
document.getElementById('server').onchange = function(){
document.getElementById('join').action = this.value;
}
</script>
</body>
<footer>
</footer>
</html>