Game of Life Final

Author:
Denis
Topic:
Matrices
In "Edit" mode it is possible: to move edit cursor and use click for switching state of selected cell ("Switch" is On); to draw (mode = 1) or erase (mode = -1) cells, just moving cursor ("Draw" is On). Randomize and clear (randomize with "density = 0") board; choose some presets and set custom rules.
Universe of game is enclosed: Top = Bottom and Left = Right. "God mode" means: - randomize size, density and cells; - randomize rules(!); - start animation. Create Universe just for a moment...