TeTrIs.vim - A tetris game in pure vim : vim online
Keywords: Vim, Vi IMproved, text editor, home, documentation, tips, scripts, news

TeTrIs.vim : A tetris game in pure vim
script karma | Rating 594/217, Downloaded by 10402
created by
Gergely Kontra
script type
game
description
A funny way to get used to VIM's h k l and <Space> key. The first (I hope) interactive game inside pure VIM! It's a work-in-progress version. Todo: - better random - better timing - shorter code If you like games, also see Sokoban vimscript#211!
install details
Source it! Press :source TeTrIs.vim<Enter> To start the game, press <Leader>te. (If you don't know what is <Leader>, you should press \te, and type :help Leader<Enter> to learn about what the heck leader is) Controls: h: left l: right j: down i,k: rotate <Space>: drop <Esc> or q: quit (if you have more or other keys, which help you to learn VIM, please send me the mail) p: pause game To restore, press <Leader>te in any window! *** Save everything, before you begin to play ***
rate this script | Life Changing Helpful Unfulfilling
script versions (upload new version) Click on the package to download.
package | script version | date | Vim version | user | release notes
--- | --- | --- | --- | --- | ---
tetris.vim | 0.52fix | 2002-02-27 | 6.0 | Gergely Kontra | norm -> norm! to protect from M$-win's remappings
tetris.vim | 0.52 | 2002-02-20 | 6.0 | Michael Geddes | Fixed massive slowdown when key pressed. Fix up window positioning when ending and showing highscore.
TeTrIs.vim | 0.51 | 2002-02-19 | 6.0 | Gergely Kontra | New timing, bug fixes, Name is stored in script-variable.
TeTrIs.vim | 0.5 | 2002-02-14 | 6.0 | Gergely Kontra | New mode, top10, better colors, improved rotation, new timing, speedup, animations
TeTrIs.vim | 0.4 | 2002-02-04 | 6.0 | Michael Geddes | Colour, speeds, extra keys, the missing piece. Lotsa stuff.
TeTrIs.vim | 0.1 | 2002-01-03 | 6.0 | Gergely Kontra | Initial upload

| If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly. Questions about Vim should go to vim@vim.org after searching the archive. Help Bram help Uganda. stats |  |