Feedback wanted: rock paper scissors simple UI


#1

Hello! :wave:t4: I’d appreciate feedback on the simple UI of my rock paper scissors solution. :smiley:


#2

Hey @dsmchen

I’ve had a look and it’s very well written with clearly defined functions that do what you would expect.

The only thing I saw that could be obviously improved is in the playRound function you check for a draw by checking all possible variations when instead you could just check if playerSelection === computerSelection which would return true if the strings were identical.

Great job!


#3

Thanks, @CouchofTomato!