Feb-18-2018, 01:48 PM
The rules of the game are that:
rock beats scissors
scissors beats paper
paper beats rock
similar items tie
One of my first ideas was to assign an integer value to each string, but it was unclear to me how I could number them such that paper still beats rock. This is why I went with processing the strings.
rock beats scissors
scissors beats paper
paper beats rock
similar items tie
One of my first ideas was to assign an integer value to each string, but it was unclear to me how I could number them such that paper still beats rock. This is why I went with processing the strings.