-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgame.jade
37 lines (37 loc) · 1.59 KB
/
game.jade
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
html
head
script(src='/socket.io/socket.io.js')
script(src='scripts/jquery-1.7.1.min.js', type='text/javascript')
script(type='text/javascript', src='client.js')
link(rel='StyleSheet', href='styles.css', type='text/css')
script(type='text/javascript', src='player.js')
script(type='text/javascript', src='arena.js')
script(type='text/javascript', src='bomb.js')
script(src='scripts/jquery.spritely-0.6.js', type='text/javascript')
body
#usersdiv
b USERS
#users
| ROOM 1:
#room1
| ROOM 2:
#room2
#roomdiv
select#roomselect
option(value='room1') room1
option(value='room2') room2
input#roomjoin(type='button', value='join room')
#chatdiv
| Chat:
input#chat(type='text' , size='18')
#welcome
| Welcome
!=name
script(type="text/javascript")
var user_name = $("#welcome").html();
user_name = user_name.substring(8);
#status
#msgdiv
textarea#msg(rows='20', cols='20')
#wrapper
#arena