Dice Algorithms_WEB
Dice Algorithms_WEB
VOCABULARY MATERIALS
ALGORITHM: Set of instructions designed to perform a » 1 die per player
specific task.
» Paper to make a score card
LOOP: Programming structure that repeats a sequence of » Pen or pencil
instructions until a specific condition is met.
PROGRAM: Collection of instructions that can be executed
by a computer to perform a specific task.
3 Look at this game from a computer’s point of view. If this game was played on a computer, it would need all of
the steps for this game programmed into an algorithm. When a player needs to roll the dice, the computer would
have to be told how to roll the dice. The computer would also have to be told to repeat steps, or loop, if going
through the same steps multiple times.
4 Now write down your own series of steps to create your own dice game. If you have steps that need to be
repeated, you can write in a loop. Give your game to a family member and see if they can play your game.
FURTHER
EXPLORATIONS
» Roll a separate die to determine the mathematical operation. Example 1: Rolling even numbers add,
rolling odd numbers subtract. Example 2: Rolling 1 or 2 = add, 3 or 4 = subtract, 5 = multiply, 6 = divide.
Make up your own rules!