This commit is contained in:
gnieark 2016-05-14 23:39:10 +02:00
parent 879f352d15
commit 9f1118436a

View File

@ -51,10 +51,10 @@ function connectFour(bot1,bot2,xd_check, newGame){
//fill the grid //fill the grid
//if( reponse['strikeX'] > -1){ if( reponse['strikeX'] > -1){
alert(reponse['strikeSymbol']);
document.getElementById('td' + reponse['strikeX'] + '-' + reponse['strikeY']).innerHTML = reponse['strikeSymbol']; document.getElementById('td' + reponse['strikeX'] + '-' + reponse['strikeY']).innerHTML = reponse['strikeSymbol'];
//} }
if(reponse['continue'] == 1){ if(reponse['continue'] == 1){
connectFour(bot1,bot2,xd_check, false); connectFour(bot1,bot2,xd_check, false);
} }