Refactor Paper Rock Scissors app