I tried to figure out how the win calculation is done on BTCDice.
Example:
http://btcdice.com/details.html?q=8183Processed Time: 2012-07-20 09:54:27
Processed Time: 2012-07-20 09:52:03
Key Date: 7202012
Bet: lessthan 48000
Bet TX: c7bd37655431824053e4aab796feb0e1b72ea1786bd1604ad091c0a7c33ca985
Payment TX: 392592eeade96445887f4c7382bf5466fbc6ad8c97ef724f5fdcbb28f57bdca9
Paid to Address: 15pgcDLLJBzQLTjy2F6oo7iaymRnrFv5if
Payment TX Status: CONFIRMED
Bet Amount: 1.00000000
Outcome: WIN
Payment: 1.31050550
Lucky Number: 25067
less than 48000 1BTCDiceLs79syendE1DM1XCaHcKkzBNnP 73.2422% 1.333x 1.650% 98.35% 0.0100 100.0000 133.0000
The calculation works this way:
result = 1.0 BTC * 1.3333 * 0.9835 - 0.0005 BTC