Post
Topic
Board Gambling
Re: y4x.com: BTC awarded on first block that has a bid
by
BitcoinHoarder
on 12/12/2012, 19:59:09 UTC
Have you changed the starting algoritm? A couple of times the game has started just when I randomly go to the page. Or am I just being lucky?

Hmm.. anyway you woud not need to start the game, if there are no players ;-) You could delay the start until someone refreshes the page.

Exactly correct, I do not send the initial bid until the reveal address is seen by a player.  So imagine the database is configured to start a game at 12:00:00 PM.  12:00:00 PM may come but if the address has not been revealed to anyone then the initial bid is not sent and the game therefore can not prematurely end.  I put this in place so that games wouldn't be started by the initial bid and then ended without anyone ever seeing the address.