diff --git a/src/arenas/connectFour/js.js b/src/arenas/connectFour/js.js index 51c427f..c3cb646 100644 --- a/src/arenas/connectFour/js.js +++ b/src/arenas/connectFour/js.js @@ -50,7 +50,7 @@ function connectFour(bot1,bot2,xd_check, newGame){ } //fill the grid - alert (reponse['strikeX']); + if( reponse['strikeX'] > -1){ alert ('polp'); document.getElementById('td' + reponse['strikeX'] + '-' + reponse['strikeY']).innerHTML=reponse['strikeSymbol'];