A simple "Rock, Paper, Scissors" game

The game logic in my solution doesn't follow the original outline from the Code Academy's course work; however, I think this approach which uses a helper function is easier to read than a bunch of nested if-elseif-else statements.