Push button based game

MoonCampaign by Orlando (14 years)

At Moonpreneur, we empower students to turn ideas into reality through hands-on project & product building.
Our MoonCampaigns highlight their creativity, public speaking, presentation skills, and teamwork.

Quarterly MoonCampaigns: Four Innovation and Leadership Showcases Annually by
Every Student—Thousands of Inspiring Learning Stories Unveiled.

Likes

Rating

41 days left

Your support will go a long way in encouraging Orlando and taking their innovation Push button based game to new heights.
Push button based game
terms and conditions
:

Push button based game

:

Orlando

:

Show and Tell

:

Show n Tell

:

Coming Soon

About the Innovator

Hello everyone! My name is Orlando, and I'm 14 going on 15. I build Legos, read books, and play video games. The project I created is a push-button-based game called "Press the Button." The basis of the game is simply pressing the button. Maybe.

The game's history is based on a school assignment and has a lottery theme. A link to play the game will be available (link to be inserted here). Warning: Extreme fun, engaging. Do not skip to the next slide until you have completed all three levels of the game!

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

STORY

Total Views:

Materials


To build this game, you will need:

  • An Arduino board
  • 14 wires
  • An LCD board

Code Explanation


The code (which would be displayed here) highlights the pins you need to connect. It initializes the serial monitor, sets the potentiometer pin as input, and starts the LCD board. The buzzer functionality will be explained later.

The code clears the LCD, prints numbers rapidly, and starts the game for level one. The game uses a potentiometer to determine the player's progress and button presses to trigger different events.


Game Mechanics


Level one uses a potentiometer: if the potentiometer value (potVal) is between 0 and 200, the yellow LED turns on, and the LCD displays "Small Jackpot" and 150 coins.

To advance, a button press (Switch 2) is required, along with a potentiometer value between 300 and 600.

For the final level, a potentiometer value above 700 and a button press between 1000 and 1020 is needed. Failure results in losing 1000 coins and attracting the police!



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