Bitcoin Forum
July 04, 2024, 09:38:21 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Economy / Gambling / Re: Deepsum: a Novel Algorithm for Bitcoin Dice Roulette on: January 08, 2021, 08:08:33 AM
Deepsum: a Novel Algorithm for Bitcoin Dice Roulette - Safe, Customizable and Profitable

Corresponding author: Idea Nakamoto (DeepOnion team). Email: forthelastwords@gmail.com

Abstract:

In this context, a novel progressive strategy of roulette, regarding the house edge redemption, is first time introduced by DeepOnion team. Geometric progression is alternated with arithmetic progression to guarantee a slower bet size increasing. Comparison between DeepSum and classical strategies is briefly discussed. As a key point, within the increasing size of bet to redeem for the house edge payment, the law of large numbers is the key to expect with a sufficiently long run, a final winning result is reached. The algorithm has several customizable factors with its code written in Lua programming language to run with Seuntjie Dicebot. Simulation tests were carried out and showed that the strategy can help players gain tens or hundreds of percentage of profit. This is the safest roulette strategy that ever known, as a present of DeepOnion team to the cryptocurrency community.

1. Introduction

Roulette gambling is a fantasy dream of the human history. Millions of people even sold their houses to play roulette with an illusion that they could win with large enough finance balances in long runs. But most of time, no one could do it. It was explained as the rule of house edge exhaust their pockets.

Many progressive strategies were introduced to make winners, including Martingale, D'Alembert, La Bouchere, Fibonacci, etc. But none of them could be safe enough for a long run. The profit rate is low, while the balance must be very large.

DeepSum is introduced here as the safest algorithm so far. DeepSum has several customizable factors. Many tests were run by simulation on Seuntjie Dicebot via Primedice server. Millions of bets were carried out successfully with steadily increasing balance.



2. DeepSum algorithm

Principle: instead of increasing bet size after each bet, which makes a differential geometric progression by bet, DeepSum runs a group of bets without increasing bet size. The number of bets in a group is abbreviated as "g" in the Seuntjie Dicebot Lua scrypt enclosed.

During the betting, if the balance increases as a positive profit is obtained, the bet is reset to initial value. Otherwise, after g bets, a sum of loss is added to the next bets, which means only a win then can bring back all the loss.

There are two reasons DeepSum is much safer than the classical Martigale:

- A large number g of bets statistically helps gainning probability of winning (say herein 50%) more safely than only a single bet.
- A sum of loss after g bets (arithmetic progression) can be statistically much smaller than an increasing bet value after every each bet in Martingale by geometric progression.

Although Fibonacci strategy is not based on a geometric progression, the increasing rate of bet size is also very tremendous. Similarly, although Labouchere strategy is a smarter arrangement of betting, using this strategy, one can quickly end up with a very large bet size exceeding the balance.

Comparing with D'Alembert strategy ,which is also based on arithmetic progression, DeepSum adjusts the house edge redemption after each group of g bets. With D'Alembert strategy, the increase of one unit of bet size after each bet will not be able to sufficiently redeem for the house edge payment when the size is accumulated that a house edge exceeds the unit increased.

DeepSum procedure explanation:

Step 1: Place a bet, say 1 unit. If win, reset the bet for the next bet.
Step 2: If lose, repeat the bet. The repeating is for g times. Once the profit is obtained, the bet is reset back to Step 1.
Step 3: After g bets, the bet size increases to be equal to all the previous loss (which includes house edge payment).
Step 4: looping from Step 1...

The betting is looped until a profit is obtained.

For an illustrative example (regardless house edge):

For an illustrative example (regardless house edge):
g = 10
1 (lose)
1 (lose)
1 (win)
1 (lose)
1 (lose)
1 (win)
1 (lose)
1 (lose)
1 (lose)
1 (win)
(Finish g bets, total loss = 4)
4 (lose)
4 (win)
4 (win) (reset)

If the probability of win is set 50%, a fallacy can make one expect that finally, the number of lose would approach the number of win and the bet size would not increase too high. When the number of wins exceeds the number of lose only 1 bet, the profit is obtained.

With customized factors, DeepSum can guarantee either high profit rate, or slow increasing bet size. In the Seuntjie Dicebot programming script enclosed with this context, the following factors can be manually input.

g: number of bets in a repeating group.
ratio: the number of divided bet unit from the balance.
timecount: the order of the current bet in a group g.
level: the number of group g that has stepped up so far.
houseedge: houseedge (%) of the roulette site.

The following values are monitored (in Console section of Seuntjie Dicebot)
levelmax: the highest levels in the history of the session.
bets: number of bets been placed of the session.
betmax: the highest bet size in the history of the session.
balancemax: the highest balance reached in the session.

3. The number "g"
Statistically, when the chance of win a bet is 50%, one can expect to get g/2 number of win and g/2 number of lose.

When g=100 and house edge =2%, statistically after 100 bets, the average losing is (100/2)×2%×Bet Unit = 1 Bet Unit. This implies that within 100 bets of the same level, if the number of win exceeds the number of lose only 1 bet, a positive profit is gained.

While a level is not enough for a positive gain, a larger g (than 100), the higher number of wins exceeding the lose must be. In contrast, the bet size in the next level is smaller. And vice versa.

4. Seuntjie Dicebot DeepSum (ver.1) Script


Details of the bot can be found here: https://bot.seuntjie.com/ (Seuntjies DiceBot)

The Code:

Quote
-- By Idea Nakamoto (DeepOnion team), email: forthelastwords@gmail.com
-- federal link for Prime Dice betting site: https://primedice.com/?c=ea341ae45b (Primedice: Bitcoin Gambling - The Original Crypto Dice Game)
-- Donation for further development:
-- with Bitcoin: 1HmnV8KokBJGAKCJLVQ7F3hxnnvsEQQ1pz
-- with Doge: DHtiEU1PYh2AnKBnDiCUrCBXsnYHtSUytp
--- with DeepOnion: DZ9kKm984WNATbsyixJHybVwRay5bsMdbF

chance    = 50 --sets your chance for placing a bet
ratio     = 100000  -- set the number of bet unit divided from your balance.
base      = balance/ratio -- sets your first bet.
nextbet   = base;
timecount = 0;
inibal    = balance;
maxbal    = balance;
g  = 10;
houseedge = 2 --(%)
level     = 0;
levelmax  = level;
betva     = base;
bets      = 0;

function dobet()
bets+=1;

local p1  = "COUNT=";
local p2  = timecount;
local p3  = "LEVEL=";
local p4  = level;
local p5  = " | ";
local p6  = "LEVELMAX=";
local p7  = levelmax;
local p8  = "BET=";
local p9  = previousbet;
local p10 = "BALANCE=";
local p11 = balance;
local p12 = "BETMAX=";
local p13 = betva;
local p14 = "BALANCEMAX=";
local p15 = maxbal;
local p16 = "BETS=";
local p17 = bets;
print(p1..p2..p5..p3..p4..p5..p8..p9..p5..p10..p11..p5..p6..p7..p5..p12..p13..p5..p14 ..p15..p5..p16..p17);

if levelmax<level then levelmax = level; end;
if betva<previousbet then betva=previousbet end;
if maxbal<balance then maxbal=balance end;

timecount+=1;

if (inibal>balance) then
   if timecount<g+1 then nextbet = previousbet;  end;
   if timecount==g+1 then
   level+=1;
   timecount = 0;
   nextbet   = inibal-balance; end;
end;

if balance>=inibal or previousbet==0 then
   nextbet   = balance/ratio;
   timecount = 0;
   inibal    = balance;
   level     = 0;
   --resetseed();          (optional)
   -- print("DONE"); (optional)
end;
end

4. Conclusion

DeepSum is tested on Seuntjie Dicebot at Primedice server for millions of bets. Tens or hundreds of percentage of profit were gained. However, risk of lose is certainly the contrast of profit. The customizeability of DeepSum is hoped to bring joy and discovery to bitcoin dice roulette players. And this is a present from DeepOnion team to the crypto-community as a message of "the coming big next thing"
The above context is only for its initial stage. Further versions of DeepSum can be discussed herein or via private contact with the author

(Idea Nakamoto, email: forthelastwords@gmail.com)

Donation for further development of the game.

Bitcoin (BTC): 1HmnV8KokBJGAKCJLVQ7F3hxnnvsEQQ1pz



DOGE : DHtiEU1PYh2AnKBnDiCUrCBXsnYHtSUytp



DeepOnion (ONION): DZ9kKm984WNATbsyixJHybVwRay5bsMdbF





--------------------------------------------

Some testing results









what should i fill in "timecount" and "level"?
how can you pass the level 88 without being stoped out?🤔
how to make slowly increase bet size? which ones should i edit?
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!