Created
September 6, 2020 16:33
-
-
Save ruzli/77092afb904f53ea8a8474b09757c12f to your computer and use it in GitHub Desktop.
Simple data gathering
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 rolls = 0 | |
var history = []; | |
var super_nyans = 0, nyans = 0; | |
while (true) { | |
rolls++; | |
const {multiplier} = await this.bet(100, 1.01); | |
history.push(multiplier) | |
if (multiplier >= 1000 && multiplier < 10000) { nyans++;} | |
if (multiplier >= 10000) { super_nyans++;} | |
for (let i = 0; i < history.length; i++){ | |
console.log(`${rolls} : ${history[i]}`) | |
} | |
this.log(`Nonce: ${rolls} | Nyans: ${nyans} | Super Nyans: ${super_nyans}`) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment