Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
spbRusty authored Aug 26, 2024
1 parent 64ebcda commit 7891232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function determineWinner(playerChoice, computerChoice) {

function updateScoreboard() {
const scoreboard = document.getElementById('result-message');
scoreboard.innerHTML = `Счёт14:<br>Вы - ${playerScore}, Компьютер - ${computerScore}<br>Раунд ${roundsPlayed + 1}`;
scoreboard.innerHTML = `Счёт15:<br>Вы - ${playerScore}, Компьютер - ${computerScore}<br>Раунд ${roundsPlayed + 1}`;
}

function checkGameWinner() {
Expand Down

0 comments on commit 7891232

Please sign in to comment.