How do I make a Lottery Game?



Can someone please tell me how to make a Lottery Game?

If you can make a video and it's good I will follow you


Here is one way:

When the circle is tapped
Set value RANDOM 1-11
Set text to RANDOM

Could you give us the link to the project? Or describe what you would like to happen?


Do you know how to make a trail when you tap somewhere?


Thank you! If I figure it out I will follow you.


Never mind, ignore mine. @SmileyAlyssa's is better.


It worked! Thank you so much!

What is your Hopscotch username? I will follow you


Thank you for your time :grinning:



You don't need to follow me, I am just here to help! :D But my username SmileyAlyssa‚Äč:blush:, and is there anything else it would like help on?


Not that I know of, but when I look up your username on hopscotch a million people have that name :laughing:


Is your icon the bird?


The code to draw a trail is

When iPad is tapped
Set position last touch x last touch y

When iPad is Pressed
Leave a trail (the color whatever your background is)
Set position last touch x last touch y

If there's anything else I can help with just tag me.


Yes, I am the bird! At the very top!
I have a ton of imposters :laughing:


11 wouldn't work as you would also have to fulfill 10 xD

In order to give everything you would also have to give absolutely nothing... Weird.