Commit ad87a8ea by roshka

arreglo

parent 1e863321
......@@ -38,7 +38,7 @@ function mover(celda_actual, celda){
celda.innerHTML='';
celda.style.background="black";
}else{
elda.style.background="skyblue";
elda.style.background="black";
alert("Movimiento Invalido!. Las fichas deben moverse de manera diagonal")}
}
......@@ -71,7 +71,7 @@ function mover(celda_actual, celda){
celda.innerHTML='';
celda.style.background="black";
}else{
celda.style.background="skyblue";
celda.style.background="black";
alert("Movimiento Invalido!. Las fichas deben moverse de manera diagonal")}
}
......@@ -83,7 +83,7 @@ function mover(celda_actual, celda){
celda.innerHTML='';
celda.style.background="black";
}else{
celda.style.background="skyblue";
celda.style.background="black";
alert("Movimiento Invalido!. Las fichas deben moverse de manera diagonal")}
}
if(celda.id=='F31'){
......@@ -92,7 +92,7 @@ function mover(celda_actual, celda){
celda.innerHTML='';
celda.style.background="black";
}else{
celda.style.background="skyblue";
celda.style.background="black";
alert("Movimiento Invalido!. Las fichas deben moverse de manera diagonal")}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment