+ 2

How do you make a jackpot game that uses random numbers

4th Feb 2017, 5:37 PM
draggy568
draggy568 - avatar
4 Antworten
+ 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
4th Feb 2017, 5:46 PM
Dawzy
Dawzy - avatar
+ 1
Thnx mate
4th Feb 2017, 5:38 PM
draggy568
draggy568 - avatar
0
At least ik how to generate them
5th Feb 2017, 3:12 PM
draggy568
draggy568 - avatar
0
generating them is the core of the program isn't it?
6th Feb 2017, 4:02 AM
Dawzy
Dawzy - avatar