$ ./minesweeper.out --help
Usage:
./minesweeper.out - Launch with default resolution
./minesweeper.out --help - Show this help
./minesweeper.out -h - Same as --help
./minesweeper.out --keys - Show the controls
./minesweeper.out -k - Same as --keys
./minesweeper.out --resolution WxH - Launch with specified resolution (width, height)
./minesweeper.out -r WxH - Same as --resolution
./minesweeper.out --difficulty N - Use specified difficulty from 1 to 100. Default: 40
./minesweeper.out -d N - Same as --difficulty
$ ./minesweeper.out --keys
Controls:
<arrows> - Move in the grid
hjkl - Move in the grid (vim-like)
<space> - Reveal tile
<LMouse> - Reveal clicked bomb
f - Flag bomb
<RMouse> - Flag clicked bomb
r - Reveal all tiles and end game
q - Quit the game