1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
//Games.cpp
string rpsOutcome[3][3]
{
//row 1
{ "Both of you picked rock, you tied. Try again",
"You picked rock, the computer picked paper, you lose",
"You picked rock, the computer picked scissors, you win"
},
//row 2
{ "You picked paper, the computer picked rock, you win",
"Both of you picked paper, you tied. Try again",
"You picked paper, the computer picked scissors, you lose"
},
//row 3
{ "You picked scissors, the computer picked rock, you lose",
"You picked scissors, the computer picked paper, you win",
"Both of you picked scissors, you tied. Try again"
}
};
string hiLoOutcome[3]
{
"Correct, the number is",
"Too low, guess again",
"Too high, guess again"
};
|