-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
55 lines (43 loc) · 1.88 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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>fdx</title>
<style>
canvas {
width: 100%;
height: 100%;
}
</style>
<script src="/socket.io/socket.io.js"></script>
</head>
<body>
<select name="characters" id="chars">
<option value=0>cheese man</option>
<option value=1>red man</option>
<option value=2>green man</option>
<option value=3>pink girl</option>
<option value=4>blue girl</option>
<option value=5>red bike</option>
<option value=6>blue bike</option>
<option value=7>blue bot</option>
<option value=8>pink bot</option>
<option value=9>dog</option>
<option value=10>technopig</option>
<option value=11>dreamy</option>
<option value=12>annoying dog</option>
<option value=13>the duane</option>
<option value=14>lenk</option>
<option value=15>markio</option>
<option value=16>loogi</option>
<option value=17>Mr. Loogi</option>
<option value=18>kirbo</option>
</select>
<input type="text" id="namesel" name="name">
<input onclick="mee.name=document.getElementById('namesel').value;document.getElementById('namesel').remove();mee.char=document.getElementById('chars').value;document.getElementById('chars').remove();startgame=true; " type="submit" id="startbutton" value="start">
<canvas id="canvas"></canvas>
<input type="text" id="chatbox" name="chatbox" style="position: absolute; z-index: 1; left: 8px; bottom: 38px; font-size:14px;height:14px;width:100px;">
<input onclick="socket.emit('chat',mee.name+':'+document.getElementById('chatbox').value);" type="submit" value="OK" style="position: absolute; z-index: 1; left: 108px;font-size:14px; bottom: 38px; width:50px; height:34px;">
</body>
<script src="/static/game.js"></script>
</html>