minesweeper game with vim-like key bindings
WARNING: To play, you should CLOSE your vim keybindings plugins in your browser on this page first!
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
If you are fortunate to know both minesweeper and vim, you can play it easily.
type :q<Enter>
to exit
type :s<Enter>
to start game
type :r<Enter>
to restart game
h j k l ^ $ b w gg G
move
a
open current cell
f
toggle flag current cell
i
open all neighbors of current cell
-
add a timer
-
add more css style 太丑了, 真的不会弄, 等高人相助
-
customize difficulty(number of rows/cols/mines)