It is a simple Rock Paper and Scissor game that we play against the computer. Computer choses one of the three options using the random() function. It is made using C++. It contains the below functions:
It takes the user's choice between Rock, Paper and Scissor, and returns the value in a variable.
It takes the computer's choice between Rock, Paper and Scissor and returns the value in a variable.
Compares the both choices by applying the Rock, Paper and Scissor rules and returns the winner and the loop continues.