This is a simple implementation of Conway's Game of Life simulator with Scala.js and Scala.rx.
Created just for fun by Ivan Yurchenko. The code is on Github. License is MIT.
6
|
|
1.00×
|
|
20
|
You can find more information about the game in Wikipedia.
The world of this implementation is toroidal - top and bottom, left and right edges are connected.
During the simulation, the history of the universe evolution is recorded, and you can scroll to any state when the simulation is stopped. Also when the simulation is stopped, you can change the state by adding or removing living cells.
The cell plane can be cleared or randomly seeded and you can create a new universe (with different size) by the buttons at the top (huge universes can slow down the simulation).
Any manual changes to the state of the universe (making a cell dead or alive, clearing, randomly seeding, creating a new universe) causes its history to be cleared.
You can control the speed of the simulation, sound volume and zoom the cell plane by moving the sliders at the top.
Unfortunately, the history is unbounded now and may consume lots of memory with time.
Music by Whiterat(TeamICU).