My interpretation of the popular game Minesweeper in Java