diff --git a/html/testBotScripts/connectfour.html b/html/testBotScripts/connectfour.html index 76460e5..cd85111 100644 --- a/html/testBotScripts/connectfour.html +++ b/html/testBotScripts/connectfour.html @@ -138,7 +138,7 @@ function playingAT(col){ y=-x+b */ //find b - var b = 0 + y + x; + var b = y + x; if (b < 6){ //first point of the diagonal has x=0; var kx = 0;