From 9a7c071e42f29535d4b4e68511cb71b69a20d30d Mon Sep 17 00:00:00 2001
From: spbRusty <42145047+spbRusty@users.noreply.github.com>
Date: Mon, 26 Aug 2024 11:02:11 +0300
Subject: [PATCH] Update script.js
---
script.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/script.js b/script.js
index 9fa98cf..93bf30c 100644
--- a/script.js
+++ b/script.js
@@ -30,7 +30,7 @@ function determineWinner(playerChoice, computerChoice) {
function updateScoreboard() {
const scoreboard = document.getElementById('result-message');
- scoreboard.innerHTML = `Счёт13:
Вы - ${playerScore}, Компьютер - ${computerScore}
Раунд ${roundsPlayed + 1}`;
+ scoreboard.innerHTML = `Счёт14:
Вы - ${playerScore}, Компьютер - ${computerScore}
Раунд ${roundsPlayed + 1}`;
}
function checkGameWinner() {