Idiocode

Sweeper

Left click reveals what is in the square.

Right click marks the square with a flag.

Mark all bomb squares with a flag to win.