Skip to content

Instantly share code, notes, and snippets.

@dsetzer
Last active August 18, 2019 04:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save dsetzer/1f798574614739cb3ea65d75ad3df31c to your computer and use it in GitHub Desktop.
Save dsetzer/1f798574614739cb3ea65d75ad3df31c to your computer and use it in GitHub Desktop.
bustadice - low bal climb
await (async t => {
let a, i, n = (t, a = 2) => ((t + a) / a - a) / a, s = 100, c = n(t), e = n(n(t));
const o = async t => (a = i && i.multiplier < e ? i.value * c : s, i = await this.bet(Math.round(a / s) * s, e));
for (;;) await o().then(t => setTimeout(o, s))
})(28.72);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment