This file contains 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 = { | |
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; |
This file contains 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 = { | |
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 = '' |