Below is a simple clone of the classic Windows game Minesweeper, implemented in JavaScript. To see the source code, visit thiscouldbebetter.wordpress.com.