MoonCampaign by Orlando (14 years)
Our Social Impact - We're transforming education globally with free robotics and math workshops in the US, UK,
Canada, and Australia.
Our workshops have helped 66,000 students alone in the US plus 14,000 students benefit from our four-week sessions.
Push button based game
Orlando
Show and Tell
Show n Tell
Coming Soon
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!
To build this game, you will need:
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.
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!
©️ Copyright, Moonpreneur Inc.
3031 Tisch Way, 110 Plaza West PMB # 138, San Jose, CA 95128, USA
Likes
Rating
41 days left
Push button based game