Presentation is loading. Please wait.

Presentation is loading. Please wait.

Random numbers in Alice 3. Create world, add character (“Red” in this example) Dragged walk tile to right onto Run method. Click on “??? “ part of Tile.

Similar presentations


Presentation on theme: "Random numbers in Alice 3. Create world, add character (“Red” in this example) Dragged walk tile to right onto Run method. Click on “??? “ part of Tile."— Presentation transcript:

1 Random numbers in Alice 3

2 Create world, add character (“Red” in this example) Dragged walk tile to right onto Run method. Click on “??? “ part of Tile – tell Red how many steps (or meters) to take.

3 From the pull down arrow, choose Random “number” two choices, one number or a choice of both a minimum and a maximum range of numbers that may be returned.

4 Pick a range of numbers min to max

5 1 to five in this example

6 Run Program several times to see Red walk different number of “random "steps


Download ppt "Random numbers in Alice 3. Create world, add character (“Red” in this example) Dragged walk tile to right onto Run method. Click on “??? “ part of Tile."

Similar presentations


Ads by Google