Rock Paper Scissors, Play Against the Computer

Play Rock Paper Scissors against the computer. Fair random opponent with win tra

?
You
VS
?
CPU
Choose your move

Rock Paper Scissors Online

Play Rock Paper Scissors against a computer opponent that picks purely at random. Choose your move, rock, paper, or scissors, and the computer simultaneously reveals its random choice. Rock beats scissors, scissors beats paper, paper beats rock. The classic rules, executed with perfect fairness. The computer\'s choice is determined by a cryptographic random generator at the moment you click, not before. There is no prediction, no pattern analysis, and no difficulty levels. The computer picks each option with an exactly equal 33.3% probability. This means the optimal strategy against this opponent is also random, any pattern you adopt can\'t be exploited because the computer doesn\'t analyze your moves. Win/loss/draw statistics are tracked for the session so you can see your record. Over hundreds of games, you should approach 33% wins, 33% losses, and 33% draws, any significant deviation is normal statistical variance, not computer cheating.

How it works

When you click a move button (rock, paper, or scissors), the tool generates a random integer from 0 to 2 using Math.random() and maps it to the computer\'s choice (0 = rock, 1 = paper, 2 = scissors). The outcome is determined by standard RPS rules: rock > scissors, scissors > paper, paper > rock, same = draw. Both choices are displayed with icons, and the result (Win/Lose/Draw) is announced with appropriate styling. Session counters track total wins, losses, and draws.

When to use this tool

Friends settle quick disputes with a single round. Students learn about game theory concepts like Nash equilibrium, in RPS, the Nash equilibrium strategy is uniformly random, which is exactly what the computer plays. Kids play for fun on a parent\'s phone during wait times. Probability classes use long RPS sessions to demonstrate expected value convergence. Content creators play extended sessions as light entertainment content.

Frequently asked questions

Does the computer cheat or read my choice first?

No. The computer\'s choice is generated by Math.random() at the exact moment you click, with no access to your selection. Both choices are determined simultaneously, the computer has a 33.3% chance of picking each option, regardless of what you choose.

Is there a strategy to beat the computer?

Against a truly random opponent (which this is), no strategy beats random play. Every move you make wins, loses, and draws with equal probability. The optimal counter-strategy to a random opponent is also random. However, if you enjoy trying patterns, go ahead, the computer won\'t adapt to exploit them.

Is this the same game as Roshambo?

Yes. Rock Paper Scissors and Roshambo are the same game, different names used in different regions. The rules are identical: rock beats scissors, scissors beats paper, paper beats rock.

Can I play best-of-3 or best-of-5?

The tool tracks running statistics, so you can play any number of rounds and determine a "best of" winner by checking the scoreboard. There is no built-in series mode, but the stats make it easy to track.

Why do I sometimes lose many rounds in a row?

This is normal statistical variance. With a 33% chance of losing each round, losing 5 in a row happens about 0.4% of the time, unlikely but not abnormal. Over hundreds of rounds, your loss rate will converge toward 33%. If it doesn\'t, you might be falling into a predictable pattern (though against a random opponent, this shouldn\'t matter).

Related tools

Coin Flip for binary decisions

Dice Roller for tabletop games

Truth or Dare party game

Yes or No random decision