Skip to content

Commit

Permalink
Implementando funções no arquivos JS
Browse files Browse the repository at this point in the history
  • Loading branch information
alinealien committed May 1, 2024
1 parent b5d27fc commit c364918
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scripts/velha.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ var jogador2 = {
peca: ''
};

/*

function solicitarNomeJogador(numeroJogador) {
var nome = prompt("Por favor, insira o nome do Jogador " + numeroJogador);
if (nome != null) {
Expand All @@ -169,7 +169,7 @@ function solicitarPecaJogador(numeroJogador) {
document.querySelector(".jogador" + numeroJogador + " .peca-jogador").textContent = "Peça: " + peca.toUpperCase();
return peca.toUpperCase();
}
*/

function exibirAlertaVencedor(nome) {
alert("O vencedor é: " + nome);
}
Expand Down

0 comments on commit c364918

Please sign in to comment.