UNPKG

followjacks-game-of-life

Version:
72 lines (42 loc) 3.34 kB
# [FollowJack Game of Life](https://followjack.com/game_of_life) FollowJack Game of Life is a cellular automaton devised by the British mathematician John Horton Conway in 1970 create with [name](webpage). <!-- ## Preview [![Stylish Portfolio Preview](https://startbootstrap.com/assets/img/templates/stylish-portfolio.jpg)](http://preview.christopherdaniel.me/react-stylish-portfolio/) **[View Live Preview](http://preview.christopherdaniel.me/react-stylish-portfolio/)** --> ### Rules The universe of the Game of Life is an infinite, two-dimensional orthogonal grid of square cells, each of which is in one of two possible states, alive or dead, (or populated and unpopulated, respectively). Every cell interacts with its eight neighbours, which are the cells that are horizontally, vertically, or diagonally adjacent. At each step in time, the following transitions occur: 1. Any live cell with fewer than two live neighbors dies, as if by under population. 2. Any live cell with two or three live neighbors lives on to the next generation. 3. Any live cell with more than three live neighbors dies, as if by overpopulation. 4. Any dead cell with exactly three live neighbors becomes a live cell, as if by reproduction. The initial pattern constitutes the seed of the system. The first generation is created by applying the above rules simultaneously to every cell in the seed; births and deaths occur simultaneously, and the discrete moment at which this happens is sometimes called a tick. Each generation is a pure function of the preceding one. The rules continue to be applied repeatedly to create further generations. ## Usage ### Basic Usage ### Install `npm install` ### Run TODO `npm start` Runs the app in development mode. Open http://localhost:3000 to view it in the browser. The page will automatically reload if you make changes to the code. You will see the build errors and lint warnings in the console. `npm run build` Builds the app for production to the build folder. It correctly bundles React in production mode and optimizes the build for the best performance. The build is minified and the filenames include the hashes. By default, it also includes a service worker so that your app loads from local cache on future visits. Your app is ready to be deployed. <!-- ## About Start Bootstrap is an open source library of free Bootstrap templates and themes. All of the free templates and themes on Start Bootstrap are released under the MIT license, which means you can use them for any purpose, even for commercial projects. * https://startbootstrap.com * https://twitter.com/SBootstrap Start Bootstrap was created by and is maintained by **[David Miller](http://davidmiller.io/)**, Owner of [Blackrock Digital](http://blackrockdigital.io/). * http://davidmiller.io * https://twitter.com/davidmillerskt * https://github.com/davidtmiller Start Bootstrap is based on the [Bootstrap](http://getbootstrap.com/) framework created by [Mark Otto](https://twitter.com/mdo) and [Jacob Thorton](https://twitter.com/fat). React App built by [CincinnatiCodes](http://twitter.com/cincinnaticodes) --> <!-- ## Copyright and License Copyright 2013-2018 Blackrock Digital LLC. Code released under the [MIT](https://github.com/cincinnaticodes/react-stylish-portfolio/blob/gh-pages/LICENSE) license. -->