UNPKG

minesweeperjs

Version:

Free and easy to use minesweeper javascript library.

9 lines (8 loc) 207 B
const { Grid } = require('../app_entry') console.log("\nRandom Grid : \n") var g = new Grid({ name:"My test map", width:18, height:10, nbbombs:30 }).initMap().spawnRdmBombs().show();