Rock Paper Scissors

Rock, Paper, Scissors

Mankind has been plagued for millennia by disagreement and indecision. Luckily, we have recently discovered plans for constructing the ultimate decision-making tool in ancient manuscripts attributed to scholars from lost Atlantis. It’s... Rock, Paper, Scissors!

For this activity, you will program a Rock, Paper, Scissors game using Scratch.

  • Make a Scratch script that makes two sprites say either “Rock,” “Paper,” or “Scissors” as appropriate when the green flag is pressed. You must use a pick random block to generate both sprites’ choices.

  • Add a third sprite. After the first two sprites pick their choices and say the accompanying words, the third sprite should say who wins each round (or whether the round is a tie). You may find this chart of rock, paper, scissor outcomes useful.

  • Add score variables (e.g., cat_score and duck_score)that keep track of how many times each character has won (ties net zero points each). Remember, you can make these variables visible on the stage by clicking on the check-box next to the variable name.
  • The third sprite should end the game when either contestant (e.g., Cat or Duck) reaches a score of three wins, and announce the winner.

Instructions

In this assignment, you will program a Rock, Paper, Scissors game using Scratch. Your original program should:

  1. Simulate a Rock, Paper, Scissors game,
  2. include two contestants who choose answers randomly,
  3. include a referee who officiates automatically (based on this chart of rock, paper, scissor outcomes),
  4. use score variables that keep track of how many times each character has won,
  5. ends when one contestant wins three rounds,
  6. be personalized in at least three ways,
  7. be usable, efficient, and effective, and
  8. provide documentation (describe what it does) in the Instructions. Be sure to describe how your program is original.

When you are satisfied with your work, submit a link to your program or the program itself. Your work will be reviewed by a peer, and in turn, you will review one of your peers’ projects. You should base your evaluation on the assignment rubric.

Rubric

Criteria Points
Uses random block appropriately to generate plays. 1 pt
Displays correct/consistent plays for randomly generated numbers. 3 pts
Resolution of all cases is correct (e.g., Rock beats Scissors). 3 pts
Scores for each sprite are correctly calculated and displayed. 2 pts
Game ends as described. 1 pt
TOTAL 10 pts