ScratchData LogoScratchData
Back to TechProducts's profile

Rock, Paper, Scissors

TETechProducts•Created November 8, 2013
Rock, Paper, Scissors
2
2
109 views
View on Scratch

Instructions

Press flag to restart. Press Rock, Paper, or Scissors for you to decide.

Description

When you press flag for the first time, it resets the hands and resets the variables and scripts. When you click... let's say rock...it tells paper and scissors to hide. Rock then broadcasts a signal to tell your hand to switch to rock. The rock hand then broadcasts a signal for the AI to decide. It picks randomly for 100 trials...let's say paper... The paper hand then broadcasts a paper signal to the sprite that determines who won. The sprite then has scripts for every single scenario. Every script then has a Win/Loss/Tie which then the sprite changes costumes to that W/L/T.

Project Details

Project ID14077950
CreatedNovember 8, 2013
Last ModifiedSeptember 12, 2017
SharedNovember 9, 2013
Visibilityvisible
CommentsAllowed