I'm not sure that the simpler way is "if no winner, then next block." if no winner again, then next block... I have seen similar raffles where several blocks were needed.
bitmover's tool is also provably fair
It's probably a matter of habit, you've been used to using one method for years.
no it isnt that at all - it is as I stated, I want, when I do a raffle myself, the winning number to be the actual number the contestants chose, not some number that gets calculated using the block hash.
That is basically the same.
Instead of waiting for the next block, you get the last 6 digits of that block hash, and use the module operator of the total number of participants to get the division remainder .
The modulo.opertator is very simple
For example
The division remainder (3) is then used to choose the winner. As the division remainder can never be greater than the number of participants.
Very simple math that works.
It isn't a mysterious and complex calculation
but if someone picks 32 and the block ends in 32 - they are not the winner - so no it is not the same thing at all. The amount of participants and the other 4 digits can change it.
This is no where near the same thing. This does solve waiting for a next block but it does not let people actually choose what number they want to be their "winning" number.
and because no one knows how many participants there will actually be (if not waiting for it to fully fill - but if did wait for it to fill, then could just still use the block hash as it is) and they are not getting to select the other 4 numbers - it does create a mystery as to who will win.
My philosophy - keep it simple. let them choose a very specific value and that value - alone and without other calculations - determines whether they win or not.
this process just basically eliminates the need for waiting for a second block incase of no winner.
I can also see it beneficial where a block is set at the very start and raffle tickets are given in the order of people joining the raffle and the number is simply assigned to them.