This is the problem
In the game Rock Paper Scissors, two players simultaneously
choose one of three options: rock, paper, or scissors.
If both players choose the same option, then the result
is a tie. However, if they choose diff erently, the winner is
determined as follows:
Rock b • eats scissors, because a rock can break a pair of
scissors.
• Scissors beats paper, because scissors can cut paper.
• Paper beats rock, because a piece of paper can cover a
rock.
Create a console-based game in which the computer randomly
chooses rock, paper, or scissors. Let the user enter
a character, 'r', 'p', or 's', each representing one of the three
choices. Th en, determine the winner
My question is: How can I make computer choose rock, paper or scissors?
Loading
Sushta GuthnarPosted Jan 2, 2012, 7:18 PM
I am haveing fond recomemories of rocks and papers but we weren't allowing to be playing with The scissor. Many rules are given with paper not with haveing scissor. If paper erectus it would be using suffocations with the rocks.
HAveing you creation the 3d textures roks or papers yet?
haveing you detriminied the weight classes of the rocks?
and leastly,
will you be useing a button on screens for 'r,'p', or 's'?
If it will be haveing the chosens then I am codeing expert that can be helping. I am thinking the following:
int objParam =0;
bool running;
If (button == "r")
{
objParam ++;
} else
if (button == 'p')
{
objParam --;
} else {
if (button == 's')
objParam --;
running = true;
}
}
}
Pleases to be contacting me questioning further,
Many successes with computering gameing
Shusta