Rock Paper Scissors
A simple game where you face the computer at rock paper scissors. Pick one below and the computer plays one at random; your win/draw/loss record is tracked. Everything runs in your browser.
Pick rock, paper, or scissors to start.
How to use
- Press one of rock, paper, or scissors.
- The computer's choice and the result are shown.
- Keep playing and your win/draw/loss record builds up.
Frequently asked questions
How does the computer choose?
The computer randomly picks rock, paper, or scissors using the browser's random function. It cannot know your choice in advance.
Is my record saved?
The record is counted only on the current screen and resets when you refresh. No information is sent to a server.
Practical example and verification criteria
Rock Paper Scissors: First define the draw population—such as a candidate list, numeric range, or number of dice—and check whitespace, duplicates, and whether minimum and maximum values are inclusive. Before running it, agree whether repeated winners are allowed, whether selected entries are removed, and when a redraw occurs so rules do not change to fit the result.
Rock Paper Scissors: For a quick check, start with {R,P,S} → win / draw / loss as a small input whose result relationship you can verify directly. Confirm that the input summary, units, and options match your intent before applying the tool to real values or a copy of the source; this reduces setup mistakes.
Rock Paper Scissors: Record the input list and options, then verify that the result is among the candidates or within the range and that nothing is missing or duplicated. Different results under identical conditions are normal. Browser randomness is for casual choices; regulated prizes, lottery prediction, cryptographic keys, or auditable drawings require local-rule compliance and a validated purpose-built system.
Rock Paper Scissors · Work record: For real work, record the input conditions, selected options, and result together. Do not assume the same state will remain after a refresh or device change. Preserve important results separately using copy, download, a screenshot, or another method the page supports, then reopen them in the target environment.
Rock Paper Scissors · Error check: If an error or unexpected result appears, reduce the input, run again with default options, and then change one condition at a time. Recording error messages and boundary values helps distinguish format issues, unsupported cases, and browser resource limits, and prevents an empty result from being mistaken for success.
Rock Paper Scissors · Scope of use: Check the page guidance for browser processing versus server lookup, storage location, and supported scope. Use sensitive source material or secrets only when strictly necessary. High-impact work such as legal, financial, or medical decisions or changes to an operational system requires current authoritative information and a separate verification process.