Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/johngrib/vim-game-code-break
Block-breaking game in vim 8.0
https://github.com/johngrib/vim-game-code-break
Last synced: 9 days ago
JSON representation
Block-breaking game in vim 8.0
- Host: GitHub
- URL: https://github.com/johngrib/vim-game-code-break
- Owner: johngrib
- License: mit
- Created: 2017-06-12T00:46:26.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-29T04:15:03.000Z (about 6 years ago)
- Last Synced: 2024-08-01T17:41:29.668Z (3 months ago)
- Language: Vim script
- Homepage:
- Size: 76.2 KB
- Stars: 1,638
- Watchers: 21
- Forks: 46
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- my-awesome-github-stars - johngrib/vim-game-code-break - Block-breaking game in vim 8.0 (Vim Script)
- my-awesome-starred - johngrib/vim-game-code-break - Block-breaking game in vim 8.0 (Vim Script)
- awesome-list - vim-game-code-break - breaking game in vim 8.0 | johngrib | 1573 | (Vim script)
README
# VimGameCodeBreak
![animated demonstration](https://user-images.githubusercontent.com/1855714/27774457-7e001646-5fcd-11e7-9e90-c37eafefad9c.gif)
## How to play
1. open your code or text file in Vim
1. `:VimGameCodeBreak` to Starth | 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:
```viml
" .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