Post
Topic
Board Gambling
Re: SPORTSBET.IO - Place where you can bet with bitcoins
by
ndnh
on 23/08/2016, 12:59:52 UTC
Everyone is good with this method from DarkStar_?

1. Publish the list of tickets and who has which ticket, a bit before the actual draw. Make sure that tickets are numbered.
2. Wait for a specific block hash for the drawing. Once the block comes, take the last few digits of the block hash (maybe 7?) and convert it to a decimal, by using it as a hexadecimal. Next, use the number that you get and apply modulus (number of tickets - 1) to that number. You should get a number between 0 and the number of tickets, minus one. Add one to the number, and you have your first winner.  You can get the other winners in other blocks, or if that takes too long, use the last 8 digits, than 9, e.t.c repeating the entire process I just outlined.

Shouldn't you apply modulus (number of tickets)? Why - 1?