Introduction

Learn about the basic rules of Rock Paper Scissors.

We'll cover the following

Rock Paper Scissors is a simple hand game played between two people where each player simultaneously makes a hand gesture representing one of three options:

  • Rock (a closed fist)
  • Paper (an open hand)
  • Scissors (a fist with the index and middle fingers extended)

The outcome of the game is determined by a set of rules that dictate which gesture beats which other gesture. The game is often used to settle disputes or make decisions in a fun and lighthearted way.

Press + to interact
Rock Paper Scissor symbols
Rock Paper Scissor symbols

Rules

The rules of Rock Paper Scissors are simple and easy to understand. Here they are:

  • Rock beats scissors: If one player makes a fist to represent rock, and the other player extends their index and middle fingers to represent scissors, the player with the rock wins.

  • Scissors beats paper: If one player extends their index and middle fingers to represent scissors, and the other player makes a flat hand gesture to represent paper, the player with the scissors wins.

  • Paper beats rock: If one player makes a flat hand gesture to represent paper, and the other player makes a fist to represent rock, the player with the paper wins.

If both players make the same gesture, it’s a tie, and the game is usually played again until there is a winner. The game can be played as a single round or as a best-of-three or best-of-five series, depending on the players’ preferences.

Press + to interact
Game rules
Game rules

Implemented game

The widget below shows the implementation of Rock Paper Scissors in C++. Click the “Run” button to load the game. It’ll take a few seconds to run the game. It will simulate the above illustration in the code.

Note: Do not input the values in the console.

// Click the Run button
// Enter the number of rounds
// Select your move
Rock Paper Scissors