try to draw 1000*1000 svg grig
This commit is contained in:
parent
41467e8ab5
commit
06610e9646
|
@ -38,7 +38,7 @@ function tron(bot1,bot2,xd_check){
|
||||||
|
|
||||||
//ask arena to send bots init messages
|
//ask arena to send bots init messages
|
||||||
var request = new XMLHttpRequest();
|
var request = new XMLHttpRequest();
|
||||||
request.onreadystatechange = applyInitMessage(request);
|
request.onreadystatechange = function(){applyInitMessage(request)};
|
||||||
request.open("POST", '/tron', true);
|
request.open("POST", '/tron', true);
|
||||||
request.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
|
request.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
|
||||||
request.send('act=initGame&bot1=' + bot1 + '&bot2=' + bot2 + '&xd_check=' + xd_check + '&fullLogs=' + document.getElementById("fullLogs").checked);
|
request.send('act=initGame&bot1=' + bot1 + '&bot2=' + bot2 + '&xd_check=' + xd_check + '&fullLogs=' + document.getElementById("fullLogs").checked);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user