Block-breaking game in vim 8.0
Vim script
Clone or download
John Grib
Latest commit fe5d19b Jul 27, 2017
Permalink
Failed to load latest commit information.
autoload/VimGameCodeBreak add item_limit (#20) Jul 27, 2017
plugin Add ':scriptencoding utf-8' Jul 4, 2017
.gitignore add gitignore Jun 13, 2017
LICENSE Initial commit Jun 13, 2017
README.md add item_limit (#20) Jul 27, 2017

README.md

VimGameCodeBreak

animated demonstration

How to play

  1. open your code or text file in Vim
  2. :VimGameCodeBreak to Start
h l space ` ] [ q Q
new ball cheat key GOD mode human mode end game quit & close game

Setting

If you want to play with more than three balls, you can modify the following:

" .vimrc
let g:vim_game_code_break_item_limit = 4    " default value is 2

WARNING: Too many balls can slow down the game or cause bugs. I recommend the default value : 2 If the game speed is too slow, try :syntax off before starting the game.

Installation

VimPlug

Place this in your .vimrc:

Plug 'johngrib/vim-game-code-break'

Then run the following in Vim:

:source %

:PlugInstall