Katyi / my-game-of-life

Home Page:https://katyi.github.io/my-game-of-life/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Игра Жизнь

https://ru.wikipedia.org/wiki/Игра_«Жизнь»

Реализация на JavaScript

  • Для игрового поля используется поверхность тора.
  • Поле может быть любых размеров, есть возможность изменять размерность поля.
  • Генерацию первого поколения можно сделать с помощью мыши или сгенерировать нажатием кнопки "random".
  • Таймер показывает сколько секунд прошло посл нажатия кнопки "random".
  • Остановть игру можно кнопкой "clear".
  • Игра сама остановится, если на поле не останется ни одной «живой» или складывается стабильная конфигурация. Но в данной версии нет остановки игры при периодической конфигурации.

Game of Life

https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life

Implementation in JavaScript

  • The surface of the torus is used for the playing field.
  • The field can be of any size, it is possible to change the size of the field.
  • First generation can be done with the mouse or generated by pressing a button "random".
  • The timer shows how many seconds have passed since the "random" button was pressed.
  • You can stop the game with the "clear" button.
  • The game will stop if there isn't a “live” cell on the field or a stable configuration is formed. game not stopping when in the field there are only periodic configurations.

About

https://katyi.github.io/my-game-of-life/


Languages

Language:JavaScript 63.6%Language:CSS 25.6%Language:HTML 10.8%