UNO Card Generator

MoonCampaign by Atharva (9 years)

Likes

Rating

43 days left

Your support will go a long way in encouraging Atharva and taking their innovation UNO Card Generator to new heights.
UNO Card Generator
terms and conditions
:

UNO Card Generator

:

:

Show and Tell

:

Show n Tell

:

Coming Soon

About the Innovator

Atharva created a random UNO card generator using the Micro:bit, which randomly selects a card for fun or game purposes. The program generates a random number each time a button is pressed, using the Micro:bit’s random number generation feature. These numbers correspond to different colors and values in a standard UNO deck, such as numbers between 0-9 and special cards like Skip and Draw Two. Through if-else statements, the program displays the appropriate card based on the generated number. Key concepts in this project include random number generation, input handling with buttons, and conditional logic, offering a fun and creative way to incorporate randomness into games.



Want your child to be part of an innovative and creative competition?

STORY

Total Views:

In this project, I created a random UNO card generator using the Micro:bit. The goal of the project is to generate a random UNO card, which can be used for various fun purposes like creating a game or just having some randomization in card selections.


Here’s how it works: The Micro:bit randomly generates a number each time a button is pressed. To accomplish this, I used the random number generation feature available in the Micro:bit's programming environment. I programmed it to pick numbers within a range that corresponds to the different colors and values in a standard UNO deck. For example, the values might represent numbers between 0-9, and additional values for skip, reverse, and draw cards.


The program uses if else statements to determine which card to display based on the random number generated. After pressing a button, the random number is assigned to a variable, which is then used to show the corresponding card (either a numbered card, or one of the special cards like Skip or Draw Two).


The key concepts used in this project include random number generation, buttons for input, and conditional logic to determine which card to display. This project demonstrates how randomization can be applied to create fun tools for games!

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

Comments

You Might Also Like

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