A simple minesweeper engine