MultiplayerMinesweeper/util.js
2022-04-20 14:53:36 -04:00

6 lines
127 B
JavaScript

function randomNumber(min, max) {
return Math.floor(Math.random() * (max - min) + min);
}
module.exports = {randomNumber}