Lottery game
I have made this sketch in order to use the list functionality with MicroBlocks.
When we click on the PicoBricks GP10 Button, one of the prizes configured in the "Prizes" list will be shown on the OLED display. The generation of the prize is done using the function "random number"
2
Comments
-
Nice little script. Maybe you could as some animation before the number is choosen or some music to make it more like a gameshow thing. Just a little tip: It is always good to post image blocks in English.
1 -
Thanks Peter.
I will look at how to add image and sound to my lottery game.
1
Howdy, Stranger!
Categories
- 118 All Categories
- 3 Community
- 3 Hello Maker!
- 103 PicoBricks - Make, Run, Split, Merge
- 1 PicoBricks IDE
- 1 Arduino IDE
- 32 Hardware Support
- 15 PicoBricks Backers Hub
- 49 MicroBlocks Support
- 3 Shipping Support
- 2 MicroPython
- REX - 8 in 1
- Mechanical Parts and Parkour
- REX Main
- Arduino-IDE
- REX - Shipping
- 12 Products & Technology
- 2 Raspberry Pi
- Arduino
- 10 Other