diff --git a/helpers.js b/helpers.js new file mode 100644 index 0000000..cc7ac76 --- /dev/null +++ b/helpers.js @@ -0,0 +1,6 @@ +/* -------------------------------------------------------------------------- */ +/* Random Number Generator */ +/* -------------------------------------------------------------------------- */ +function getRandomInt(min, max) { + return Math.floor(Math.random() * (max - min + 1)) + min; +} \ No newline at end of file