Last active
November 17, 2021 22:37
-
-
Save dsetzer/11ec9895e0452fbc15427759f5cae518 to your computer and use it in GitHub Desktop.
climb v2 script for bustadice and bustabit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var config = { c: { label: 'Base Bet', type: 'balance', value: 500 } }; | |
let c = config.c.value, t = 1.1, b = 1.006, m = 1.005, a = c, d = t, h = 100; | |
engine.on('GAME_ENDED', () => { let r = engine.history.first(); (r.cashedAt) ? (c = a, t = d) : (t += m, c *= b) }); | |
engine.on('GAME_STARTING', () => { engine.bet(Math.round(c / h) * h, t)}); | |
/* Climb V2 (bustabit) */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var config = { c: { label: 'Base Bet', type: 'balance', value: 500 }}; | |
let c = config.c.value, t = 1.1, b = 1.006, m = 1.005, a = c, d = t, h = 100; | |
for(;;){let r = await this.bet(Math.round(c / h) * h, t); (r.multiplier < t) ? (t += m, c *= b) : (c = a, t = d)} | |
/* Climb V2 (bustadice) */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment