Skip to content

AntiHero/Markdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 

Repository files navigation

Game of life

Conway's Game of Life built in Typescript

Build Status Coverage Status PRs Welcome

Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents

About

Cекция содержит краткое описание вашего проекта. Вдохновение, идеи, мотивация, которые послужили началом для создания.

This project was inspired by The Game of Life created by John Horton Conway.
No players are needed for this game. Just create a pattern and you are ready to go! 🤗
You can get acquainted with the rules and usage examples below.

Have a nice trip!

Built with

Секция содержит используемые в проекте технологии. Если их слишком много следует оставлять наиболее крупные из них.

babel css3 html5 typescript jest react redux

Rules

  1. Any live cell with fewer than two live neighbours dies, as if by underpopulation.
  2. Any live cell with two or three live neighbours lives on to the next generation.
  3. Any live cell with more than three live neighbours dies, as if by overpopulation.
  4. Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.

These rules, which compare the behavior of the automaton to real life, can be condensed into the following:

  1. Any live cell with two or three live neighbours survives.
  2. Any dead cell with three live neighbours becomes a live cell.
  3. All other live cells die in the next generation. Similarly, all other dead cells stay dead.

Getting started

Пример того, как вы можете дать инструкции или первоначальные требования пользователю для корректной установки и запуска проекта.

Prerequisites

⚠️ Before installing the project latest version of npm should be installed.

npm install -g npm@latest

Installing

  1. Clone the repo
git clone https://github.com/your_username_/GameOfLife.git
  1. Install NPM packages
npm install
  1. Start the project
npm start

Usage examples

В этой секции могут содержаться полезные примеры использования проекта. Блоки кода, изображения и анимации. Сюда можно приложить ссылки на дополнительные ресурсы.

/* Creating new instance of Game of life */

const options: GameOpts = {
  width: 10,
  height: 10
};

const newGame = new GameOfLife(options);

Patterns you can explore

Contact

LinkedIn

License

MIT License

Acknowledgements

Built with ❤️ by Passionate Otus Student

About

Short description here

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published