Java Script Step 13 Rock, Paper Scissors Project

Please Can Someone Help me with this Error Message?

Also if there is anyone who knows why it says to call the rock paper or scissor in the USER variable, Line68 that would also be helpful to me?
Thanks T

const playGame() => {
const userChoice = getUserChoice(“rock”);
const computerChoice = getComputerChoice();
console.log(You Threw: + userChoice);
console.log(the Computer threw: + computerChoice);
console.log(determineWinner(userChoice, computerChoice));

}
playGame(rock)

this:

const playGame() => {

is not the right way to use a arrow function. look at your determineWinner function for example:

const determineWinner = (userChoice,computerChoice) => {

see how you have:

const variable = (params) => {}

the = seems to be missing altogether your playGame function

1 Like