Rock-paper-scissors: Difference between revisions

computer, operator and opponent
(subheading removed, because contents box becomes misplaced)
(computer, operator and opponent)
Line 9:
If both players choose the same thing, there is no winner for that round.
 
For this task, the computer will be one of the players. The opponentoperator will select Rock, Paper or Scissors and the computer will keep a record of the choice frequency, and use that information to make a [[Probabilistic choice|weighted random choice]] to in an attempt to defeat theits playeropponent.
 
=={{header|Ada}}==