goly-moly
Game of life helpers
Last updated 4 years ago by vire .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install goly-moly 
SYNC missed versions from official npm registry.

Goly Moly

Helper library for game of life (goly)

It provides a updateWorld function which accepts the current state and returns next generation state.

  • State must be an array of arrays (cells) const initialState = [[0, 0], [0, 1], [0, 2]]
  • Cell must be an array of exactly two coordinates [x, y] e.g. [0, 0]

Setup

$ npm install

Build

$ npm run build

Test

$ npm test

License

MIT

Current Tags

  • 0.0.2                                ...           latest (4 years ago)

2 Versions

  • 0.0.2                                ...           4 years ago
  • 0.0.1                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (12)
Dev Dependencies (13)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |