Nibble : Nibble or Snake game for Vim.
script karma |
Rating 67/23,
Downloaded by 4719 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Hari Krishna Dara |
|
script type |
game |
|
description |
- Based on my memories from the first PC game that I played called Nibble (or Nibbles?) written for DOS I think in Basic.
- Recreated the first 5 levels that I remember, very easy to add new levels
(see s:InitLevel() function).
- Use :Nibble command to start the game.
- Use 'h', 'j', 'k' and 'l' keys to control the direction of the snake and
drive it on to the aim (call it a sleeping mouse :).
- Use 'q' to quit, <C-C> or <C-Break> to stop and <Space> to pause.
- You have 3 lives to expend. The current number of lives, level and the score
is displayed.
- If the snake touches the border, the blocks or itself you loose a life.
- Game ends when all the lives are consumed or you complete all the levels.
Good exerciese to practice hjkl key movements, even for experienced Vi users,
as you need to sometimes react very quickly.
Search_key_words: nibble nibbles snake game games hari krishna dara |
|
install details |
- Vim 7.0 (Preferably GUI version).
- Extract the zip file into your runtime directory.
- Install genutils.vim (vimscript #197)
- For a more uniform movement of the snake across both horizontally and vertically, use a font that gives you a more square looking block (MS windows raster fonts on the console are a good example, but I couldn't find a way to set these on a GUI version), and also resize Vim window to have equal number of rows and columns. If you find such a font for GUI version, please let me know. |
|
script versions (upload new version)
Click on the package to download.
nibble-2.0.zip |
2.0 |
2007-02-02 |
7.0 |
Hari Krishna Dara |
Just updated to work with Vim7. It now uses the new Vim7 Lists and
Dictionaries so much cleaner code than before. No longer uses multvals.
|
nibble-1.1.zip |
1.1 |
2004-02-20 |
6.0 |
Hari Krishna Dara |
Updated with Bram's feedback.
- Space should resume paused game.
- When paused, should be able to close the game window and still be able to resume it.
- Highlighting definition may not work on all the color schemes.
Also clears out any pending key strokes before starting a new level. |
nibble-1.0.zip |
1.0 |
2004-02-19 |
6.0 |
Hari Krishna Dara |
Initial upload |
ip used for rating: 142.132.191.50
|