debug
This commit is contained in:
parent
070ffa013b
commit
879f352d15
|
@ -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 ('td' + reponse['strikeX'] + '-' + reponse['strikeY']);
|
|
||||||
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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user