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

Rock Paper Scissor

MoonCampaign by Dhruv (9 years)

Dhruv’s Rock, Paper, Scissors game on the Micro:bit is a fun and interactive way to play the classic hand game digitally. Using Python, Aarnav programmed the Micro:bit to randomly display Rock, Paper, or Scissors when shaken. The project uses the accelerometer to detect shakes and the random.randint function to pick a random number, which corresponds to one of the three options. This simple yet engaging game is a great example of how coding can bring ideas to life.

👍

Views:

Your rating and comment will go a long way in encouraging Dhruv and taking their innovation Rock Paper Scissor to new heights.

terms and conditions

Dhruv 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 Dhruv project

Rock, Paper, Scissors is a timeless game, and I wanted to bring its excitement to the Micro:bit. My project works by generating a random choice between Rock, Paper, or Scissors whenever the Micro:bit is shaken. Using Python, I programmed the device to detect shakes with the accelerometer and use the random.randint function to pick a random number. Each number corresponds to one of the three options: 1 for Rock, 2 for Paper, and 3 for Scissors. The chosen option is then displayed on the screen, making it a fun and interactive way to play the game.


Launch your child's
success today

What people
have to say

See what people around the world are saying about Dhruv Rock Paper Scissor 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