Interesting! Great seeing someone do something new with the MoneyPot API! Best of luck
lets say you hit the Jackpot and you will do the screenshot and post it and all is fine. now you want to go on playing. how would you do this if there is no way to stop the Jackpot winner animation?
to start playing again the user will need to click anywhere on screen if he wants to go on playing. please let me tell you that this is not a bug but if you have a better option/solution please tell us and lets see if we find together a better solution.
Actually, there is a much better way using the MoneyPot API. Because of the way you process jackpots manually, I actually think you have an extremely high risk of being -EV.
Let's take a look at one of payout tables of the bets you're making:
https://www.moneypot.com/bets/34410141First of all, you can omit ranges with 0 payouts, as it's a bit redundant.
I don't fully understand the mechanisms of your game but I'm going to assume in that bet, if the outcome lands between [0, 15342) they get the jackpot. However from the MoneyPot's perspective it's only configured to give them 111.97 bits. What you should do, is tell MoneyPot exactly what the jackpot is (e.g. if it's a small bet, 0.5 BTC or if it's a large bet 1 BTC) and if someone wins it, the jackpot money will come from investors and not you! As a side benefit, it'll force you to modify some of your payouts (or probabilities) so that they are overall +EV
Best luck with your casino! Catch me on slack if you need any help or have any questions
@Ryan
thank you for jumping in with your feedback.
you wrote
>>>However from the MoneyPot's perspective it's only configured to give them 111.97 bits.<<<please let me explain and for a more in depth explanation I will catch you on slack
the user bet was 4 satoshis on horse 1
the jackpot is always adjusting to each wager up to to the 40k max
Jackpot for example for a 1 sat wager is 0.00002799
Jackpot for example for a 2 sat wager is 0.00005599
Jackpot for example for a 4 sat wager as the example you gave shows will pay 0.00011197
the formula for the fair Jackpot payout is
wager x 279936 x 1% = Jackpot
chance to hit the Jackpot is 1 in 279936
as we take 1% for Jackpot payouts the correct and fair payout for a 4 sat wager if hitting the Jackpot is 0.00011197
please let me explain now the Jackpot for the max 40k sat wager
40k x 279936 x 1% = 1.119744
to compare it with a lottery it would be like a lottery OP with a chance of 279936 to win the only prize and a lottery ticket prize of 1$ should have a fair payout of 297936 $ without keeping any amount for him. but in general lottery OPs take down a nice percentage before paying out the main prize.
I hope this makes sense. and if I missed something please let me know
we could give higher max wager adjusting to MP BR but then we would need to redo the Jackpot math and payout.
cheers