diff --git a/src/arenas/tron/js.js b/src/arenas/tron/js.js index dd03c32..11596b6 100644 --- a/src/arenas/tron/js.js +++ b/src/arenas/tron/js.js @@ -8,9 +8,11 @@ function createElem(type,attributes){ function tron(bot1,bot2,xdcheck){ - var mapImg = createElem('svg',{'version':'1.1','alt' : 'map','width':'200','height':'200','xmlns':'http://www.w3.org/2000/svg','viewBox':'0 0 20 20'}); - // "circle" may be any tag name - mapImg.innerHTML = ' '; - document.getElementById('mainArticle').appendChild(mapImg); + + var mapImg = document.getElementById("map"); + + var rect=createElem('rect',{'x':'10','y':'10','width':'50','height':'80','style':'stroke:#000000; fill:none;'}); + + mapImg.appendChild(rect); } diff --git a/src/arenas/tron/public.php b/src/arenas/tron/public.php index 02ea46c..1ceb7ca 100644 --- a/src/arenas/tron/public.php +++ b/src/arenas/tron/public.php @@ -34,7 +34,7 @@ $bots=get_Bots_Array('tron');

- - - + + + \ No newline at end of file