Mines is written in go so make sure you have it installed before building the game.
$ go build virgee.com/mines
$ ./mines 10 10 # 10 rows by 10 columns field, 20% mine population
$ ./mines 10 25 # 10 rows by 25 columns field, 20% mine population
$ ./mines 10 10 25 # 10 rows by 10 columns field, 25% mine population
key | description |
---|---|
w,a,s,d or up,left,down,right | Move cursor around |
SPACE | Tap a cell |
f | Flag/unflag cell |
q | Quit |
Tapping a cell that contains a mine will make it explode and you'll die. Please, tap responsibly.