about | help | code help+videos | done | prefs |
Play the rock, paper, scissors game. Given two string, s1 as human choice, and s2 as computer choice, return either "human" or "computer" as a winer. if both play the same, the game will be "tie" rPSGame("paper", "rock") → "human" rPSGame("paper", "scissors") → "computer" rPSGame("paper", "paper") → "tie" ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 150
Copyright Nick Parlante 2017 - privacy