protected void botonActualizar_Click(object sender, EventArgs e) { actualizarTablero(); if (ws.getActivo().Equals(nick)) { labelTurno.Text = "Es su Turno"; botonAtacar.Visible = true; botonMover.Visible = true; botonTerminarTurno.Visible = true; } else if (ws.contarUnidades(nick) == 0) { ws.terminarPartida(nick, ws.getOponente(Session["nickname"].ToString()), Convert.ToInt32(Session["desplegadas"]), ws.contarUnidades(Session["nickname"].ToString()), Convert.ToInt32(Session["destruidas"]), 0); textConsola.Text = "PERDIO LA PARTIDA"; } }