From c426407b6dcd58d6933c2c84b2163942a5ec7980 Mon Sep 17 00:00:00 2001 From: gnieark Date: Sat, 14 May 2016 23:33:24 +0200 Subject: [PATCH] debug --- src/arenas/connectFour/js.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/arenas/connectFour/js.js b/src/arenas/connectFour/js.js index e94ee0d..3d436b0 100644 --- a/src/arenas/connectFour/js.js +++ b/src/arenas/connectFour/js.js @@ -53,8 +53,7 @@ function connectFour(bot1,bot2,xd_check, newGame){ if( reponse['strikeX'] > -1){ //alert ('td' + reponse['strikeX'] + '-' + reponse['strikeY']); - //document.getElementById('td' + reponse['strikeX'] + '-' + reponse['strikeY']).innerHTML=reponse['strikeSymbol']; - document.getElementById('td' + reponse['strikeX'] + '-' + reponse['strikeY']).innerHTML='PROUT'; + document.getElementById('td' + reponse['strikeX'] + '-' + reponse['strikeY']).innerHTML = reponse['strikeSymbol']; } if(reponse['continue'] == 1){ connectFour(bot1,bot2,xd_check, false);