The entry fee is broken into 3 groups. First, a 10% (1000 HEX) dev fee is deducted which goes to the contract creator. The rest (90%) is split into thirds. 1/3 (3000 HEX) feeds the current jackpot and 2/3 is set aside for seeding the next jackpot when the current jackpot is won.
Every time a entry is played 6000 HEX is set aside to seed future jackpots. When a jackpot is won, half of the set aside HEX is transfered to the next round of jackpot.
If you win the jackpot, there is a claim button beside your unclaimed prize total. If you click this, it will run the contracts claim function to transfer the winnings to your address.
Random numbers in solidity is hard to achieve. Thanks to the Help of Niguez Randomity Engine A truely random number is generated each time.
1 in 1000