gmarik / golife.vim

Run Conway's Game of Life on your source code in Vim

Home Page:http://github.com/gmarik/golife.vim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

During #coderetreat winnipeg we were doing TDD for Conway's Game of Life

Having accomplished TDD sessions we had to hack working version. That's how Ruby version was born

Some folks were cool enough make it run in Browser using WebGL.

That lead to creation of Vim's version.

Instructions

if you're a Vundle user

  • run :BundleInstall gmarik/golife.vim
  • open a file, ie :e ~/.vim/bundle/golife.vim/plugin/golife.vim
  • run :GoLife

The Game of Life will run on the golife.vim itself, and you'll see something like this:

Game of Life running in Vim

PS: it was jsut a quick hack

Couple figures

   #
 # #
  ##

                                    ##
                                    ##




   #                     ###
 # #
  ##                      #
                          #
                          #






                               ###
                                #
                                #




                  # #
                 # # #
                  # #

                  # #
                 # # #
                  # #

About

Run Conway's Game of Life on your source code in Vim

http://github.com/gmarik/golife.vim


Languages

Language:Vim Script 100.0%