This commit is contained in:
gnieark 2016-05-14 23:33:24 +02:00
parent 862e67e853
commit c426407b6d

View File

@ -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);