0% found this document useful (0 votes)
395 views5 pages

Conclusion: Rock, Paper & Scissors

Rock, paper, scissors is a hand game played between two people where each player simultaneously forms one of three shapes: a rock, paper, or scissors. Rock beats scissors, scissors beats paper, and paper beats rock. The game is programmed so that the computer randomly selects rock, paper, or scissors while also prompting the user to make a selection. It then displays the results based on the rules of who wins between the two selections.

Uploaded by

Saleh Kettan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
395 views5 pages

Conclusion: Rock, Paper & Scissors

Rock, paper, scissors is a hand game played between two people where each player simultaneously forms one of three shapes: a rock, paper, or scissors. Rock beats scissors, scissors beats paper, and paper beats rock. The game is programmed so that the computer randomly selects rock, paper, or scissors while also prompting the user to make a selection. It then displays the results based on the rules of who wins between the two selections.

Uploaded by

Saleh Kettan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 5

conclusion

Rock , Paper &


Scissors
Conclusion
Rock Paper Scissor (which is also called
Stone Paper Scissor) is a hand game and
played between two people, in which each
player simultaneously forms one of three
shapes.

The winner of the game is decided as per


the below rules:

1- Rock vs Paper -> Paper wins.

2- Rock vs Scissor -> Rock wins.

3- Paper vs Scissor -> Scissor wins


• In this game, the user will be asked
to make choice and according to the Note: This random number will decide the
choice of user and computer and choice of computer as:
then the result will be displayed If the number is 1 then the choice will be Rock.
along with the choices of both If the number is 2 then the choice will be Paper.
computer and user. If the number is 3 then the choice will be
•Take module of random number Scissors.
generated with 3 to make its range
between (0 and 2).
•As the range is up to 2 only, the
distribution among all the options
i.e., Rock, paper, and scissors is
equal as all of them have an equal
probability of coming.
Made by :

Anas Sherif

AbdulSattar Rabaee

Bola Basem

Ziad Abdulmonem

Abdullah Mohammed

Saleh Mohammed
Course : programming in C language
Dr.Zakaria Hassan

You might also like