This commit is contained in:
gnieark 2016-05-14 23:36:53 +02:00
parent 070ffa013b
commit 879f352d15

View File

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