Feedback wanted: rock paper scissors simple UI


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


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!


Thanks, @CouchofTomato!