Post your project for free and start receiving proposals from freelancers within minutes after publication!
Change the latter.
Hi, there’s a finished script(working) lototron, it works without problems, but because of the event they wanted to change!
Program Description: In the left part we enter the number of prizes, and in the right number of participants!(The photo is fixed)
There is a problem that the course of the event we wanted to launch it 25 times, c different numbers of prizes, for example in the first round we will play 4 gifts, in the second 2, in the third 30 etc.
And the main problem is that the number that has already fallen falls out by n.
Therefore, this problem needs to be solved!
One of the task-solving algorithms: For example: you enter 500(this number can be another and when the first spin is placed) Create a list of 500 elements. Then you start a cycle on the number of prizes. Generate a number by the length of the list. Keep the number inside the list. Remove the record from the list. In JS it is Array.splice(index) like. Then a new number is generated by the length of the list. Well and so on...
The script files are attached, please write those that are confident)
thank you
Program Description: In the left part we enter the number of prizes, and in the right number of participants!(The photo is fixed)
There is a problem that the course of the event we wanted to launch it 25 times, c different numbers of prizes, for example in the first round we will play 4 gifts, in the second 2, in the third 30 etc.
And the main problem is that the number that has already fallen falls out by n.
Therefore, this problem needs to be solved!
One of the task-solving algorithms: For example: you enter 500(this number can be another and when the first spin is placed) Create a list of 500 elements. Then you start a cycle on the number of prizes. Generate a number by the length of the list. Keep the number inside the list. Remove the record from the list. In JS it is Array.splice(index) like. Then a new number is generated by the length of the list. Well and so on...
The script files are attached, please write those that are confident)
thank you
Applications 2
Application viewing is only available registered users.
1 proposal concealed