Game Of Life - inside Vim

License: Apache-2.0

Language: Python


Simple Game of Life within vim

See example on Asccinema:


vim, +python


Using pathogen.

git clone ~/.vim/bundle


  • Load any existing sample available in the samples folder

    :e glider.txt
  • Or set up any N x M grid with # as the living cell and <space> as the dead cell

  • Run the simulation using :GOL
  • Interrupt the simulation using Ctrl+C
  • You can modify the grid at any point and run :GOL again.
  • You can call the GameOfLife(living, dead) function and pass it different characters. Example:

    call GameOfLife('O','+')

Project Statistics

Sourcerank 3
Repository Size 5.86 KB
Stars 1
Forks 0
Watchers 1
Open issues 0
Dependencies 0
Contributors 1
Tags 0
Last updated
Last pushed

Top Contributors See all

Omar Abou Mrad

Something wrong with this page? Make a suggestion

Login to resync this repository