Continue to open safe squares

TODO: refactoring
Support image file for mines
Add an example