Description: This is Microsoft Minesweeper Game for Web How to use: minesweeperGame(w,h,n); w -> width h -> height n -> number of mines Examples of usage: minesweeperGame(9,9,10); Demo: JSFiddle Result: