How is the winner chosen?
Our system randomly chooses 80% winners(if you chose 80% winning odds).
Basically the prize money is generated by the betting and is split into a specified percentage of betters.
Thanks and Regards
It is completely random
![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
Please explain how it is random. Is it provably fair? If so, how is it provably fair?
Our system is written in python, and uses python's random (
http://docs.python.org/2/library/random.html) library. This library uses the MersenneTwister algorithm to the select the winners. The following steps are taken to select the winners.
1) Transactions count for previous day is computed.
2) 80% of the transaction count is computed. The resultant number is the targeted number of winners = N.
3) The transactions are fetched from the database and shuffled using the random.shuffle() function.
4) The shuffled transactions are then selected randomly using random.choice() function and added to the winners list = W. To ensure that duplicacy is avoided, we remove the winning transaction from the shuffled list.
5) Step 4 is repeated until we get the "targeted number of winners" = N.
6) Winners list = W, is added to database.