There are treasure cases you can open for a certain price, the price is different for every case. You open them to get rewards. The rewards are programmed in smart contracts. The program for calculating the winner is based on the generation of a random number based on the percentage chance of the prize. The more expensive the prize, the less chance of falling out.