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