Giter Site home page Giter Site logo

conway-game-of-life's Introduction

Conway's Game of Life

A simple interactive demo for Conway's game of life where you populate the grid with certain squares and watch it grow!

Description

The game of life is a world designed by John Conway to mimic town populations. Whether a grid survives to the next generation depends on its neighbors. If there are too many live neighbors, a square dies from overpopulation; if there are too few, it dies from isolation; and it moves on when the number of neighbors is just right.
Naturally, this gives rise to many cool patterns. With this demo, you can try some of them out for yourself!

Running the demo

  • Create some patterns of your choice by clicking the squares on the grid
  • Press "Start" on the left column to simulate the game
  • Configure the update speed however you want on the left hand side.
  • Press "End" at any point to stop the simulation. Or the game will stop once the grid doesn't change from one generation to the next.
  • You can go back to any previou generations by clicking from the generated list on the left.
    You can also edit a generation at any point and press start again to see how it change!
  • Have some fun in the sun!

Demo

Sample Grid 1 Sample Grid 2 Watch a demo!

Author

@Benjamin Le

Acknowledgments

conway-game-of-life's People

Contributors

bqle avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.