Skip to content

thefzn/GoL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game of Life 1.0

This is my javascript implementation of the Game of Life (for more info, click here), created as a jQuery Plugin (based on jQuery v2.0.3 but it may work with previous versions).

I tried to create an interface as simple as possible, a wide set of customizable settings and interaction controls.

The package includes an implementation example with custom (but not required) CSS.

The script includes a demo with the basic "Glider" pattern that will travel endlessly across the grid. Also includes a "Edit" mode where the user is able to draw his/her own patterns and give them life.

Please feel free to inspect the code, comment, request updates or report bugs, I had a lot of fun coding this game :).

Note: I apologize in advance for the rawness of my code, I haven't had the time to optimize it and make the appropriate tests.

Requirements

This project uses jQuery 2.0.3 which is only compatible with IE9 or later.

To run on IE8- you can try with a older version of jQuery, but I cannot assure it will fully work.