Rock, Paper, or Scissors Project

I completed the rock, paper, or scissors project, but at the end of every “round”, it says undefined. Please help me.

We see nothing, send your code

Sorry, here it is!

Hi @brycennelson22169938,

You’re getting undefined because determineWinner() should always be returning something, not logging to the console. playGame() is already using console.log, no need to do it twice :wink:

1 Like