JSFiddle - React, Tailwind, and code Playground

by madroller

HTML

<ul id="data3"></ul>

JavaScript

botBaseGame = 49.50;
botBaseMulti = 2;
house_edge = 1;

function getGame(gMulti){
    return 1 / (gMulti / 100) * ((100-house_edge)/100);
}

for(var botCurrLossRun = 0; botCurrLossRun<100;botCurrLossRun++){
    theGame = Number(getGame(botBaseMulti + botCurrLossRun)).toFixed(4);
    $('#data3').append('<li>'+theGame+'</li>');
}