You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Plays Rock Paper Scissors against the computer, with input validation and a winner decided by compound conditions.
What I learned
This was my first project that splits logic into separate functions instead of putting everything in main(). Each function does one job, which made the code easier to read. I also practiced returning a value and using it directly, and combining conditions to cover all three winning cases.