The rock, paper, scissors game will be a 1 player game which follows the same rule as the regular game. They will be playing against a CPU. The entire game is based off a random generator while the player gets to choose which option they would like to use.
At the beginning of the round, the user types in "rock", "paper", or "scissors." The CPU will go through the random number generator and select one of the 3 options.
There will have to be some kind of process that checks if the player or the CPU won, without having to do like 9 different if statements.
The rock, paper, scissors game will be a 1 player game which follows the same rule as the regular game. They will be playing against a CPU. The entire game is based off a random generator while the player gets to choose which option they would like to use.
At the beginning of the round, the user types in "rock", "paper", or "scissors." The CPU will go through the random number generator and select one of the 3 options.
There will have to be some kind of process that checks if the player or the CPU won, without having to do like 9 different if statements.