From 4650b3548e6cf32e8e82e24bdcd4bdfff388424c Mon Sep 17 00:00:00 2001 From: gnieark Date: Sat, 14 May 2016 23:20:51 +0200 Subject: [PATCH] debug --- src/arenas/connectFour/js.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'];