Coder Social home page Coder Social logo

sswspencer / gameoflife Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 8.34 MB

Conway's Game of Life is a 0-player simulation that represents life and death through cellular automation. Cells are born, live, and die based on the surrounding cells.

Home Page: https://gameoflife-three.vercel.app

HTML 7.10% JavaScript 80.33% CSS 12.57%

gameoflife's Introduction

Conway's game of life

Additional Features: -Speed Control -Randomize Layout -Step through iterations individually

Note on speed control: It is not 100% accurate, but it provides a good baseline for the speed at which it iterates

Stretch Goal: Deploy website to a hosting platform

Rules of Conway's game of Life: 1: any live cell with <2 neighbors dies 2. any live cell with 2-3 live neighbors lives to the next generation 3. any live cell with >3 neighbors dies 4. any dead cell with 3 live neighbors comes to life

What are cellular automata: A cellular automaton is a program that functions on a 2d grid controlled by the data it is initially given. It has a set of rules to describe how the grid, as well as individual cells' neighbors, change over time. Throughout each iteration of the simulation, the grid is examined, and then creates a new grid consisting of the old state, which then becomes the current state of the simulation. Each new grid is a generation.

Turing Completeness: A computing system is Turing Complete if it can perform a general purpose of computation. The seemingly infinite grid of the Grame of Life allows a programmer to use constructs in the Game of Life to build any other type of logical "circuitry" and memory. Anything that can be computed can be computed in the game of life if there is a large enough grid and long enough span of generations.

gameoflife's People

Contributors

sswspencer avatar dependabot[bot] avatar

Watchers

James Cloos avatar  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.