I have a question:
in total, people paid 83.52 BTC today. Of this, 82.6848 goes to the pot (1% fee).
also, 74,68 BTC have been sent to people (double the amount of all players listed as doubled) (your example shows your fee going back to the pot, which is a bit strange, so I didn't include it).
so the pot should contain 8.0048 BTC, right? The site lists the pot as 5.6084, so where did the other 2.4 go?
Is my math wrong somewhere?
Going to restate what he said with my math:
83.52 put into the pot so far
Take away the 1% fee leaves the pot at 82.6848
Green entries total to 37.34
This means a total payout of 74.68
Total put in - total payout (should) = current pot
82.6848 - 74.68 =\= 5.6048
So looks like yorick was correct in his math.
The pot shows the 1% taken away, but when I send people the money, I re-calculate based on what they put in.
$amount2send = ($Amount*2) - ($Amount/100);
mbc_spend($Address,$amount2send,"[BitDouble]: Payout!","");
$Amount = what they paid.
I don't think daily scheduled resets are a good idea. The time period is too short and in the end everyone will just join in with automated bots paying the first second of the new round.
Heh, I'd thought about making a bot to do it.... perhaps a CAPTCHA needs to be put in place for submitting your entry, this should prevent any bots from entering. Plus there are tons of easy to use CAPTCHA services out there.
There already is a captcha.
Yeah, there is a captcha when you pay.
I honestly don't care if people use bots to pay.
[Edit]: Now that I thought about it (still waking up), bots probably won't be a good idea. If the game is in the middle of restarting; then the payment may get lost. So, if the bot send the payment while the game is "supposedly offline" looks like I just got a new donation. So, script carefully!
