Skip to content

Commit

Permalink
🐛 Update
Browse files Browse the repository at this point in the history
  • Loading branch information
UltiRequiem committed May 20, 2021
1 parent a8a6091 commit 1689813
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rockPaperScissors.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ function determineWinner(userChoice, computerChoice) {
}

function playGame(input) {
var userChoice = getUserChoice(input.toLowerCase());
var computerChoice = getComputerChoice();
let userChoice = getUserChoice(input.toLowerCase());
let computerChoice = getComputerChoice();
console.log(`You threw ${userChoice}!`);
console.log(`Computer threw ${computerChoice}!`);
console.log(determineWinner(userChoice, computerChoicez));
console.log(determineWinner(userChoice, computerChoice));
}

rl.question(`Rock, papper or Scissors?`, (input) => {
Expand Down

0 comments on commit 1689813

Please sign in to comment.