diff --git a/src/arenas/connectFour/js.js b/src/arenas/connectFour/js.js index 0bc5896..b0ed57c 100644 --- a/src/arenas/connectFour/js.js +++ b/src/arenas/connectFour/js.js @@ -17,7 +17,10 @@ function connectFour(bot1,bot2,xd_check){ var xhr = Ajx(); xhr.onreadystatechange = function(){if(xhr.readyState == 4){ if(xhr.status == 200) { - document.getElementById('fightResult').innerHTML = xhr.responseText; + + var reponse = eval(xhr.responseText;); + alert (reponse['continue']); + }else{ alert ('error ' + xhr.status); return;