+ 2
How do you make a jackpot game that uses random numbers
4 Answers
+ 2
I will give you some basics and you make it on your own with your research.
1. Make 3 variables, num1, num2 and num3
2. Make them all generate a random number from 1-10
3. Make a function that will check if they are all equal to 7, then it is a jackpot else, if they are all the same but they aren't 7, then the user won but still didn't get the jackpot, else if they aren't the same, the user has lost
+ 1
Thnx mate
0
At least ik how to generate them
0
generating them is the core of the program isn't it?