I need to build a custom lottery system for buying tickets and winning certain products (not cash rewards). Each ticket will have a certain price which will be bought by the players and the lottery will start after a set minimum number of players are entered into the draft.
As soon as the draft starts, there should be an automatic system which selects the winner. The system should be made as such that it is random but there should be some criteria to give preference to the player who has boug…
