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

connect4

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connect4

connect 4, in node, why not

  • 0.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
Maintainers
1
Weekly downloads
 
Created
Source

Connect 4

Install: npm install connect4

Play: connect4

Note: if you get a "command not found" error, make sure npm modules are in your path.

How to Play

Enter in a row to drop in (1-7). Take turns. Whoever gets 4 in a row (horizontally, vertically, or diagonally) wins.

Additionally, you can use the folowing optional flags:

-p [number] to adjust the number of players
-w [number] to adjust the width
-h [height] to adjust the height

connect4 -p 3 -w 10 -h 8

Meta

There's some silly code in here. Not meant to be serious, but rather a discussion with other programmers for whom I made this available on the gits.

FAQs

Package last updated on 16 Nov 2012

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