Commit 8dfc6a10 by Enzo

Se saco la variable global

parent d29f90cd
var jugador = 1;
function resetearJugador(){
jugador = 1;
}
......
......@@ -3,6 +3,7 @@
<link rel="stylesheet" href="main.css">
<script src="main.js"></script>
<script>
window.onload = resetearJugador;
//Agarra la celda clickeada, y ejecuta la funcion escribirCelda (que le pasa como parametro la celda elegida)
function clickCelda(){
var idCelda = event.srcElement.id;
......
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