The rules of the game are as follows:-
- The players can enter any number of digits as they want one by one.
- Then they enter the number of bit within that number of digits.
- From then the program will calculate the given bit is Rock, Paper or Scissor.
- Then by comparing both the results it will decide the winner.