Skip to content

Commit

Permalink
adds end-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cristiandpto23 committed Aug 21, 2024
1 parent 9311b09 commit 47a7626
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions assets/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,16 @@ function rondas() {

function jugarUno() {
jugador = parseInt(document.querySelector(".input-1").value);
final();
proceso();
}

function jugarDos() {
jugador = parseInt(document.querySelector(".input-2").value);
final();
proceso();
}

function jugarTres() {
jugador = parseInt(document.querySelector(".input-3").value);
final();
proceso();
}

Expand Down Expand Up @@ -113,7 +110,7 @@ function proceso() {
}
intentos--;
scoreIntentos.innerHTML = intentos;

final();
}
}

Expand Down

0 comments on commit 47a7626

Please sign in to comment.