JSPM

blessed-life

1.1.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q15395F

A simple game of life simulation using the blessed node module.

Package Exports

  • blessed-life

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (blessed-life) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

blessed-life

This is a simple simulation of Conway's game of life. It's written in javascript for nodejs and targets the command line. It utilizes the following nodejs modules:

Getting Started

Installation

Make sure you have node.js properly installed. Then use npm to install:

$ npm install -g blessed-life

You will probably have to run this command as root like so:

$ sudo npm install -g blessed-life

Configuration

You can write configurations for blessed-life in json. Some examples are given in the example directory in this repo.

Running

You can start the program by opening a terminal and entering:

$ blessed-life

There are many command line switches that can be used (use -h or --help for more information). You can specify a certain configuration file to use by using the -c or --config switch:

$ blessed-life -c example/glider.json

Make sure the value for this switch is a valid path. An asciicast can be found here.

Further Reading

If you want to know a bit more about blessed-life, visit the wiki. Also, feel free to read more about Conway's game of life if you're interested in the theory.