/game-of-life

Game of life platform link

Primary LanguageJavaScript

Conway's Life (game of life)

The Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician John Horton Conway in 1970. It is a zero-player game, meaning that its evolution is determined by its initial state, requiring no further input. One interacts with the Game of Life by creating an initial configuration and observing how it evolves. It is Turing complete and can simulate a universal constructor or any other Turing machine.

Exemple de réalisation

Gosperglidergun

game gif

Pulsar

game gif

Game rules

  • Any live cell with fewer than two live neighbours dies, as if by underpopulation.
  • Any live cell with more than tree live neighbours dies, as if by superpopulation.
  • Any live cell with two or tree live neighbours lives on to the next generation.
  • Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.

Installation

Use the git to install code source.

git clone https://github.com/Black221/game-of-life

Usage

You can open it just with your navigator by selecting the index.html file

Fonctionnalities

Control panel

control panel

Navigation on world

navgation

Zoom in out and reset

zoom

Create random world

random

Place alive element

drawer

Erase alive element

erase

Change alive element color

color

Change color every 50 generations

multicolor

Display generation and speed controller

speed

Open Sidebar

sidebar open

Filter pattern

sidebar filter

Click to the plus button to add Pattern

pattern

Show Stats

bottom open

Show platform presentation

info

Change mode

mode select

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT