From 9a9d8a0f81fc074484196bf38150bde09f2c33cd Mon Sep 17 00:00:00 2001 From: lolabird Date: Tue, 7 Nov 2023 21:54:51 -0700 Subject: [PATCH] Remove word from title and get rid of unnecessary condition in playRound --- index.html | 2 +- script.js | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/index.html b/index.html index dd87949..e09f0c2 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ - Odin Project: Rock Paper Scissors Game + Odin Project: Rock Paper Scissors diff --git a/script.js b/script.js index 0d7dd1f..534dedd 100644 --- a/script.js +++ b/script.js @@ -51,8 +51,6 @@ function playRound(playerSelection, computerSelection){ } else { //paper return "player wins"; } - } else { - return "not a valid entry"; } }