Socket
Socket
Sign inDemoInstall

goly-moly

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

goly-moly

Game of life helpers


Version published
Weekly downloads
2
increased by100%
Maintainers
1
Weekly downloads
 
Install size
Created

Readme

Source

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

Keywords

FAQs

Package last updated on 30 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc