wlh320 / Minesviueper

minesweeper game on website with vim-like key bindings

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minesviueper

minesweeper game with vim-like key bindings

Live Demo

WARNING: To play, you should CLOSE your vim keybindings plugins in your browser on this page first!

demo

Build

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

Usage

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

TODO

  • add a timer

  • add more css style 太丑了, 真的不会弄, 等高人相助

  • customize difficulty(number of rows/cols/mines)

About

minesweeper game on website with vim-like key bindings

License:GNU General Public License v3.0


Languages

Language:JavaScript 60.2%Language:Vue 39.0%Language:HTML 0.8%