# @jharrilim/game-of-life

> Game of life in CLI

Latest version **0.3.1** (published 2019-07-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install @jharrilim/game-of-life
pnpm add @jharrilim/game-of-life
yarn add @jharrilim/game-of-life
bun add @jharrilim/game-of-life
```

Provides the command `game-of-life`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.1 |
| Published | 2019-07-27 |
| First published | 2019-07-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 29.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Joseph Harrison-Lim |
| Maintainers | jharrilim |
| Keywords | game, of, life, node, cli, terminal |

## Links

- npm: https://www.npmjs.com/package/@jharrilim/game-of-life
- Repository: https://github.com/jharrilim/game-of-life
- Homepage: https://github.com/jharrilim/game-of-life#readme
- Issues: https://github.com/jharrilim/game-of-life/issues
- npm.io page: https://npm.io/package/@jharrilim/game-of-life

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 0.3.1 (latest) — 2019-07-27
- 0.3.0 — 2019-07-27

## README

# game-of-life

[![NPM Version]](https://www.npmjs.com/package/@jharrilim/game-of-life)
[![NPM Downloads]](https://www.npmjs.com/package/@jharrilim/game-of-life)

Conway's Game of Life in a terminal.

## Usage

With `npx`

```sh
npx @jharrilim/game-of-life
```

or

```sh
npm i @jharrilim/game-of-life
game-of-life
```

or

```js
const { ConsoleMap } = require('@jharrilim/game-of-life');

const app = new ConsoleMap().seed(30);
app.on('cycle', cycleCount => {
    app.render();
});

setInterval(() => {
    app.cycle();
}, 1000 / 33);
```

[NPM Version]: https://img.shields.io/npm/v/@jharrilim/game-of-life?style=flat-square
[NPM Downloads]: https://img.shields.io/npm/dy/@jharrilim/game-of-life?style=flat-square

---
_Source: https://npm.io/package/@jharrilim/game-of-life · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
