Rock beats scissors, scissors beats paper, paper beats rock. Against a human, patterns matter; against a random opponent no strategy does better than 1/3 wins.
How the randomness works
Every result comes from your browser’s cryptographic random number generator (crypto.getRandomValues), the same source used for encryption keys. To turn random bits into a number in a range without bias, values that would make some outcomes slightly more likely are thrown away and redrawn (rejection sampling). Nothing is sent to a server.