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