From 78912322e8666f7e7b451966072f47392a2f325a Mon Sep 17 00:00:00 2001
From: spbRusty <42145047+spbRusty@users.noreply.github.com>
Date: Mon, 26 Aug 2024 11:55:09 +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 93bf30c..87bd262 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 = `Счёт14:
Вы - ${playerScore}, Компьютер - ${computerScore}
Раунд ${roundsPlayed + 1}`;
+ scoreboard.innerHTML = `Счёт15:
Вы - ${playerScore}, Компьютер - ${computerScore}
Раунд ${roundsPlayed + 1}`;
}
function checkGameWinner() {