MultiplayerMinesweeper/util.js

6 lines
127 B
JavaScript
Raw Normal View History

2022-04-20 18:53:36 +00:00
function randomNumber(min, max) {
return Math.floor(Math.random() * (max - min) + min);
}
module.exports = {randomNumber}