a minesweeper based on cpp and cmos.