You've seen special random
blocks that were designed especially for this project to generate random jobs, actions, and places. Programming languages (including Snap!) usually have a built-in way to generate random numbers.
pick random
, and click it a few times to see what happens.pick random
block does.super short story
block may look different depending on the inputs you've used.pick random
into the number input slot of super short story
, and click the super short story
block a few times to check that a random number is used in the story. If it isn't working right, work with another student to sort out the problem.pick random
block. If you haven't already, try using only whole numbers.pick random
? What happens when you use a decimal number?