Hi there (my first contribution here)

I was playing around with the "Rock, Paper, Scissors" game after having finished it and I found out **that the computer NEVER picks "rock", even after running the game over 20 times** (so it's not just a matter of probabilities).

Since computer programming is a lot about *debugging* I tried to figure out what was wrong.

Here is what I came up with:

There is an error in the pre-written computerChoice variable.

Suppose the function Math.random() returns a value between 0 and 0.33,

according to the first IF statement, the value "rock" is attributed to the variable computerChoice.*But then, according to the ELSE IF statement, computerChoice is gonna be overwritten with the value "paper"!*

As a result, the computer has 2/3 chances to pick paper and 1/3 chance to pick scissors.

So now I've replaced the original statement by this one:

else if (computerChoice <= 0.67 && computerChoice >= 0.34) { }

And it seems to work fine!