This commit is contained in:
gnieark 2016-06-07 23:07:23 +02:00
parent fca8ca780d
commit b2b23912ee

View File

@ -149,7 +149,7 @@ function playingAT(col){
var ky = 5;
}
var line="";
for (var lx = kx, var ly = ky; (lx < 7) && (ly > -1); lx++, ly--;){
for (var lx = kx, var ly = ky; ((lx < 7) && (ly > -1)); lx++ , ly-- ){
if( grid[ly][lx] == ""){
line += " ";
}else{
@ -178,7 +178,7 @@ function playingAT(col){
}
var line="";
for (var lx = kx, var ly = ky; (lx < 7) && (ly < 6); lx++, ly++;){
for (var lx = kx, var ly = ky; (lx < 7) && (ly < 6); lx++, ly++){
if( grid[ly][lx] == ""){
line += " ";
}else{