Skip to content

Instantly share code, notes, and snippets.

@ruzli
Created August 20, 2023 15:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ruzli/c38297942c7d8ff0867becccfe40f595 to your computer and use it in GitHub Desktop.
Save ruzli/c38297942c7d8ff0867becccfe40f595 to your computer and use it in GitHub Desktop.
Fast rolling script for classic dice
stop = (() => {
let running;
function bet() {
return cd.bet(cd.amount)
}
(function() {
running = setInterval(bet, 1);
})()
function stop() {
clearInterval(running);
}
return stop;
})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment