There are lots of 6 sided dice out there so I thought I’d create a simulation of two 12-sided dice, which can be used for a variety of tasks from addition to multiplication to probability. For a younger class, simply getting the children to add the two numbers is a quick mental maths activity. Subtraction is obviously another use. A novel use of the dice is to ask if the blue dice represents the hour hand on a clock and the orange dice is the minutes hand, what time is it? For example a blue showing 3 and an orange showing 6 is half past three. See what other games you can think of.
If you are interested in the programming around it, this consists of 5 sprites. There are 2 dice, 2 numbers and a button. The dice have 2 costumes, big and small and the numbers simply are hidden until the dice have finished rolling. Clicking on “Let’s Roll” broadcasts 4 messages – hide the blue number, hide the orange number, roll the blue dice and roll the orange dice. Once the dice are rolling for a couple of seconds, they stop and become big where the numbers appear on top.
Last Update: August 8, 2017