dicer
1bfffc8caa06c939b91110a374f105601f95d7675acf6a1ae4ff6ec7c2a67ce3
To play, send a note mentioning this account and then zap the "game note" reply.
You can also modify the payout by including a number (1.5 - 100) after the mention.
For example the note:
"@dicer 5"
will start a game with a 5x payout.
Fairness:
TLDR:
When a game note is zapped, a random number is fairly generated and the game is won if that number is less than a value dependening on the game's payout odds.
Detailed Explanation:
The game note commits to a "fair preimage" by including its SHA256 hash as the note's "hash" tag, and the note commits to a probability of winning by including a "u32odds" tag.
When the note is zapped, we compute the SHA256 hash of the zap request note signature ("sig_hash"), which is unpredictable and non-malleable.
The "outcome" is determined by interpreting the first four bytes of the bitwise XOR between the fair preimage and the sig_hash as a little-endian unsigned 32-bit integer.
If "outcome" is less than or equal to "u32odds" then it is a win. A zap may be initiated for a game note only a single time and only by the original poster. After a game note is zapped, a detailed breakdown of the outcome is DMd to the zapper.
No posts found.