Skip to content
This repository has been archived by the owner on Nov 27, 2020. It is now read-only.
/ blessed-life Public archive

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

Notifications You must be signed in to change notification settings

coalman/blessed-life

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published