I have completed all the steps in the in the project however the terminal displays all the code that it goes through to decide the winner, yet I haven’t told it to using console.log( ).
Am I doing something wrong??
Any help will be massively appreciated, Thanks
mtrtmk
September 12, 2023, 8:05pm
2
// You wrote:
const playGame = () =>{
const userChoice = getUserChoice('scissors');
const computerChoice = getComputerChoice();
console.log('You threw: ' + getUserChoice );
console.log('Computer threw: '+ getComputerChoice);
console.log(determineWinner(userChoice, computerChoice));
};
// Change to:
...
console.log('You threw: ' + userChoice );
console.log('Computer threw: '+ computerChoice);
...
Thanks for the help, appreciate it!!
system
Closed
October 25, 2023, 3:28am
4
This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.