Computer’s Move
Learn to generate the computer's move.
We'll cover the following...
We'll cover the following...
What we have
We have set up the user’s input. This is our inventory of already created functions:
// Function to display game introduction and rules
void displayIntroductionAndRules() {
cout << "Welcome to Rock-Paper-Scissors game!\n" << endl;
cout << "The rules of the game are simple:" << endl;
...