Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cli-conway

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cli-conway

A CLI implementation of Conway's Game of Life

  • 0.0.3
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
0
Weekly downloads
 
Created
Source
                 CLI-CONWAY
         A Terminal Implementation of
              Conway's Game of Life

WHAT IS IT?

CLI-Conway is a text-based version of the famous Game of Life, created by John Conway. Navigate, place shapes, and watch as the grid evolves through generations.


HOW TO INSTALL:

  1. Clone this repository: git clone https://github.com/yourusername/cli-conway.git
  2. Navigate into the directory: cd cli-conway
  3. Install dependencies: npm install
  4. Run the game: npm start

OR install globally with npm: npm install -g cli-conway


COMMANDS:

Use the arrow keys to move the cursor. Press: SPACE - Toggle cell state ESC/Q - Exit 1-9 - Adjust simulation speed [g, b, p, h, l, v, o, t, u, s, x, c] - Place shapes


TIPS:

  • Use 1 for the slowest speed (450ms) and 9 for the fastest (50ms).
  • Place multiple shapes in quick succession for interesting patterns!

COMMON SHAPE COMBOS:

  • Glider (g) + Blinker (b): Create moving patterns with gliders and blinking cells.
  • Gosper Glider Gun: Use g and l together to create a glider gun setup (requires precise placement).
  • Pulsar (p): A great way to create oscillating patterns — try combining this with other still life shapes!

Keywords

FAQs

Package last updated on 05 Sep 2024

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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc