From 329920601b53d3af28dce83f5b156dc8c786845c Mon Sep 17 00:00:00 2001 From: lolabird Date: Wed, 8 Nov 2023 01:56:49 -0700 Subject: [PATCH] Add new div and extra text to msg when players tie --- index.html | 2 ++ script.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 2754013..0b0325a 100644 --- a/index.html +++ b/index.html @@ -22,6 +22,8 @@
Compy: 0
+
Rounds Played: 0
+
diff --git a/script.js b/script.js index 9de39b0..e67859e 100644 --- a/script.js +++ b/script.js @@ -77,7 +77,7 @@ function game() { msg.textContent = "You win! " + psCap + " beats " + cs + "."; break; default: - msg.textContent = "It's a tie!"; + msg.textContent = "It's a tie! You both played " + cs + "."; break; } }