-
Notifications
You must be signed in to change notification settings - Fork 0
Home
komov-r edited this page Dec 7, 2014
·
15 revisions
Format of message user send with user.info
event
{
nickname:"",
native_lang:"",
learning_lang:"",
mode:"single|multi2"
}
Format of message sent with game.init
event.
{
//players snakes coordinates
p:{
"player_id":{x:1,y:2},
"player_id2":{x:2,y:1},
},
//letters coordinates
ws:{"1 2":'w',"5 6": 'o',"4 5":'r',"8 9":'d'},
//word
w:"word",
wt:"le mot",
//size of map (map is square)
s:300,
/init size of snake
ss:2
}