Giter Site home page Giter Site logo

gameoflife's Introduction

Just another Game of Life clone

This project is brought to you by:

Math, some afternoons you should probably have studied it instead of coding

##Usage Just open this link in your favorite browser, preferably one with a blazing fast JavaScript engine like Chrome's V8 or Firefox's SpiderMonkey. Parameters are GET attributes.

###Parameters

  • spawnrate - Specifies the probability of a cell being alive upon initialization (decimal in range 0.0-1.0)
  • gridSize - Number of cells horizontally and vertically
  • cellSize - Height and width of each cell in pixels
  • updateInterval - How many milliseconds to wait before the grid will attempt to update
  • undead - A special mode where dead cells act just like alive cells (i.e., can come alive when it has 2-3 neighbors)

##Feel like contributing? Just submit your changes by making a pull requests, they are always welcome!


Erik Bjäreholt [email protected]

gameoflife's People

Contributors

erikbjare avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

gameoflife's Issues

Edge cells frozen in initial state

This was a side-effect of wanting to make things simple early on, now it's kind of annoying so it should probably get fixed (or allow the user to enable/disable it)

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.