Help needed for my Rock paper and scissors project- Javascript

I am trying to code a basic rock paper and scissors game but I don’t understand it isn’t working
my code:

Hi @Talha_Emre_Yenigun

Sorry that I couldn’t look into your code earlier.
It seems you did some updates since your code is working correctly. You could do some cleanup:

  • Remove lines 2 and 3. They are already in the playRound function.
  • Add let to the two mentioned lines in playRound.
  • Remove the parameters from the playRound function and its call.
  • Additionally, It would be cool to log the current score after each round.

See you,