a simple minesweeper game in javascript