version 0.2
:VimGameSnake
to Start
:echo g:VimSnakeScore
to view score
h | j | k | l | c | q |
---|---|---|---|---|---|
← | ↓ | ↑ | → | end game | quit |
Change the game difficulty
let g:VimSnakeMode = 'hard' " easy|hard|godmode - default: hard
Change the gameover policy
- always - restart the game after sneyk died
- none - stop the game
let g:VimSnakeRestart = 'always' " always|none - default: always
Place this in your .vimrc:
Plug 'joshuatonga/vim-game-snake-hard-mode'
Then run the following in Vim:
:source %
:PlugInstall