Zebra0.com

aliceGlossary for Alice Programming: random

Glossary for Alice Programming: random

Learn Alice in FREE step-by-step lessons.

random discussion: Discussion questions(Lesson: Random Numbers)
   What do you think?
random number: Random Number (Lesson: Random Numbers)
   Alice has a few functions that return pseudo random numbers. Random numbers can be used to create games, and also to create more natural movements. For instance, when you walk, every step is not exactly the same size. Using a random number for the size of the step will make the movement more realistic. Instead of stepping a distance of exactly 1.1, you might use a random number between 0.9 and 1.2
random number, 1 to 6: Displaying values from 1 to 6(Lesson: Random Numbers)
   A random integer from 1 to 6 inclusive to roll die
random number, addition quiz: Addition Quiz(Lesson: Random Numbers)
   Bears ask you to add numbers, then tells how many you got right.
random number, example: Displaying some random values(Lesson: Random Numbers)
   Uses textModel to display a random double value between 0 and 1.
random number, fish back and forth: A Fish swims back and forth(Lesson: Random Numbers)
   Random numbers for the distance to swim makes it more realistic.
random number, guess number: Guess the Aliens number(Lesson: Random Numbers)
   Loops until the user guesses the number: give hints "too high" and "too low"
random number, hidden fish: A Counting Quiz(Lesson: Random Numbers)
   How many fish do you see? (Some of the fish are invisible.)
random number, panda turns: Panda Turns a Random Amount(Lesson: Random Numbers)
   A random double
random number, penguin jumping: A Penguin Jumps Up and Down(Lesson: Random Numbers)
   Use a random value each time he jumps to make it look more realistic.
random questions: Self Study Questions(Lesson: Random Numbers)
   What have you learned?
Full Glossary