"Rock,Paper,Scissors" part 9, next steps (idea 3)


#1

I'm trying to extend my game but i can't seem to find a way to code for idea 3. Does anyone know how to do it? Thanks in advance! :slightly_smiling:


#2

If you want this do work always better go on and learn about loops first. But as a first step you could just make it work once for now. And a hint about the exercise. Better do not try to change the interior of the function as it is working and doing what it is supposed to do (compare). So I'd recommend that you use it's output:

Pseudo code spoiler

get the output
compare it to the tie message
ask for play again
no -> done
yes -> user and computer pick again
-> compare
-> done