PyMineSweeper
This is a CLI mine sweeper toy written in Python 2.7
- To run:
- Be sure that you have installed urwid
- Run
python minesweeper.py
- To control:
- New game:
nnn
- Move cursor:
- Left/Down/Up/Right:
h/j/k/l
- Move multiple steps:
nh/nj/nk/nl
(n
is an integer) - Move to the left end:
0
- Move to the right end:
$
- Left/Down/Up/Right:
- Reveal a site:
[space]
- Mark a mine:
i
- Cancel a mark:
u
- Quit:
qqq
- New game:
Have fun!