
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Install: npm install connect4
Play: connect4
Note: if you get a "command not found" error, make sure npm modules are in your path.
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
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
connect 4, in node, why not
The npm package connect4 receives a total of 5 weekly downloads. As such, connect4 popularity was classified as not popular.
We found that connect4 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.