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"


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.

  • Thanks Peter.

    I will look at how to add image and sound to my lottery game.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!