Skip to content

Instantly share code, notes, and snippets.

@XclusiveDigital
XclusiveDigital / Raker-ether-dice.js
Last active October 25, 2022 03:30
Raker Script - [Ether-Dice.io]
var config = {
bet: { label: 'Bet', type: 'balance', value: 1},
baseTarget: { label: 'Base target', type: 'multiplier', value: 2 }
}
var currentTarget = config.baseTarget.value
var bets = 0;
var IOs = 0;
var total, State, profit, loss, init, prev
var Rake = (currentTarget / 2)
var Stat = ''
@XclusiveDigital
XclusiveDigital / climb3-v1.5-dice.js
Created March 21, 2020 14:40 — forked from dsetzer/climb3-v1.5-dice.js
Upgrade from climb-v2 script with more customization, compounding, and halving feature for bustadice.
var config = {
baseBet: { label: 'Base Bet', type: 'balance', value: 1000 },
minPayout: { label: 'Target Min', type: 'multiplier', value: 1.08 },
maxPayout: { label: 'Target Max', type: 'multiplier', value: 50.00 },
divPayout: { label: 'Target Div', type: 'multiplier', value: 0.80 },
compRate: { label: 'Compound %', type: 'multiplier', value: 0.02 },
compStep: { label: 'Compound At', type: 'multiplier', value: 1.10 },
betSpeed: { label: 'Bet Speed', type: 'multiplier', value: 100 }
};
let baseBet = config.baseBet.value, basePayout = config.minPayout.value, rate = config.compRate.value;