Lottery Problems

Hi forum,

Not sure if this is in the write place but I would like to create a lottery game. I would like the user/s to choose six numbers, I was playing with the idea of allowing the user to choose the six numbers by clicking symbols (button), if this is possible.

Once the user has chosen six numbers, then six random numbers between 0 - 49 will be generated and stored in variables. These random numbers should be compared to the chosen numbers and if 3 match the user wins 10, 4 wins 20 etc.

Any help ??