Moonpreneur Icon
Student engaged in interactive online math learning session with headphones

A Digital Dice

MoonCampaign by Rubab (9 years)

Rubab, a 9-year-old coder, created a digital dice program using the micro:bit that generates random numbers between 1 and 6 whenever the device is shaken. Each number corresponds to a unique image displayed on the LED matrix, such as a heart for 1, a duck for 2, a silly face for 3, and others for different numbers. The program uses a variable to store the random number and conditional statements to display the respective images. Rubab demonstrated how the dice works interactively and explained the concepts of randomness, variables, and input handling, showcasing her growing programming skills.

👍

Views:

Your rating and comment will go a long way in encouraging Rubab and taking their innovation A Digital Dice to new heights.

terms and conditions

Rubab is already a part of this story

MoonCampaigns highlight student's creativity, public speaking, presentation skills, and teamwork, with an impressive track record that speaks volumes. MoonCampaigns, through quarterly Show & Tell, highlight thousands of inspiring learning stories from Moonpreneur students worldwide.

5000+

Innovative MoonCampaigns

20,000+

Minutes of Visual Content

1M+

Unique Video Views

40,000+

Unique Feedbacks and appreciation to kids from community

80%

parents observed transformational changes in their ward's STEM knowledge and leadership skills

95%

Parents Reported Increased Confidence in their child

All about Rubab project

Rubab sat excitedly, ready to share her project. “Hello, I’m Rubab, and I’m nine years old,” she began warmly. “Today, I’m showing my digital dice game made on the micro:bit.”

She explained her idea of creating a random dice roller. “When I shake the micro:bit, it picks a random number between one and six,” she said, holding her device up proudly.

Launch your child's
success today

What people
have to say

See what people around the world are saying about Rubab A Digital Dice project

Preparing Kids for the AI-Driven Future

Everything parents need to know about building future-ready skills in an AI-powered world.

Why is preparing children for an AI-driven future more important than ever?
What are the key skills AI can never replace?
How does MoonCampaign help children build these future-ready skills?
How does project-based learning prepare kids better than traditional learning?

You Might Also Like

Every child is gifted. Discover how yours can innovate and lead