life-game-shape
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

This is a repository used to store the graphics of the Game of Life.

npm i life-game-shape
import {getShapeNameList, parseShape, findShapeWithName, getShapeList} from 'life-game-shape';

const names = getShapeNameList();

const shapes = getShapeList();

const shape = findShapeWithName(names[10]);

const points = parseShape({map: shape.map});

console.log(
    names,
    shapes,
    shape,
    points,
);

Readme

Keywords

none

Package Sidebar

Install

npm i life-game-shape

Weekly Downloads

3

Version

0.0.3

License

MIT

Unpacked Size

2.36 MB

Total Files

7

Last publish

Collaborators

  • theajack