diff --git a/script.js b/script.js index ab3775c..8eff902 100644 --- a/script.js +++ b/script.js @@ -42,6 +42,7 @@ function getComputerChoice(){ function playRound(playerSelection, computerSelection){ let result = "It's a Tie!"; + playerSelection = playerSelection.toLowerCase(); if (playerSelection === "rock" && computerSelection == "paper"){ console.log(playerSelection, computerSelection);