This screenshot is slightly outdated, but I could not be bothered to update it, sorry
It's written in Free Pascal (sorry about that).
$ fpc ./mine.pas
$ ./mine
key | description |
---|---|
w,a,s,d | Move cursor around |
SPACE | Open cell |
f | Flag/unflag cell |
r | Restart |
q | Quit |
Build with debug mode:
$ fpc -dDEBUG mine.pas
$ ./mine
key | description |
---|---|
p | Peek behind closed cells |