There will be a winner every time a block is found. At the end of each round (whenever a block is found) the pool will randomly choose a BitLotto ticket to payout the current jackpot to the lucky miner!
...how?
Something I like about many Bitcoin lotto pages is that they are 100% transparent in how they determine winners (depending on block hashes etc.).
Just having a "random(1,number_of_tickets)" function somewhere is not exactly what I love to have when money is involved!
Also again the usual question to new pools:
Who gets the transaction fees and how will they be split in the future (after the 50 BTC reward goes down to 25, transaction fees will become more and more valuable!)
Hmm, basically it is just an mt_rand function, what if I had another page that showed the entire lotto stats, such as how many tickets bought by each bitcoin address, odds, etc?
We haven't found a block yet, but when we do, I was thinking of simply transferring them into the next jackpot to spread the wealth.