A python mine sweeping simulator
python setup.py install
For example, if you want to simulate a 9x9 map with 12 mines.
mine-sweeping 9 9 12
you can use it by following code. (If you want to do some research)
from msim.main import Simulator
s = Simulator(height=9, width=9, mine_count=10, stdout=False)
# res will be True if the simulated game winned
res = s.run()