diff --git a/html/testBotScripts/connectfour.html b/html/testBotScripts/connectfour.html index 75c800e..983b93b 100644 --- a/html/testBotScripts/connectfour.html +++ b/html/testBotScripts/connectfour.html @@ -178,7 +178,8 @@ function playingAT(col){ } var line=""; - for (var lx = kx , var ly = ky ; (lx < 7) && (ly < 6) ; lx++ , ly++){ + var lx , ly; + for (lx = kx , ly = ky ; (lx < 7) && (ly < 6) ; lx++ , ly++){ if( grid[ly][lx] == ""){ line += " "; }else{