#pedantic=ON
@Piet: A few spelling nitpicks: "loose" is the opposite of "tight"; "lose" is the opposite of "win". Also, it's "lizard" not "lizzard".
Also, "score" implies a number. Win, Lose, or Draw is a result, so I'd use that name to represent this concept. The "score" would be how many games each player has won.
#pedantic=OFF (is it really ever off though?
)
There's a way to avoid maps and multiple if-then-else statements. If you assign Rock=0, Paper=1, Scissors=2, then the result can be calculated as this
In JShell, you can do this: