npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

bl0cks

v0.1.1

Published

BL0CKS — The first AI-powered strategy card game. Territory. Trust. Time. Bring your own LLM.

Readme

  ____  _  ___       _         
 | __ )| |/ _ \  ___| | _____  
 |  _ \| | | | |/ __| |/ / __| 
 | |_) | | |_| | (__|   <\__ \ 
 |____/|_|\___/ \___|_|\_\___/ 

Territory. Trust. Time.

The first AI-powered strategy card game where every decision costs you something.

npm version License: MIT

A game about loyalty, deception, and the price of power on Chicago's South Side.


🎮 Play Now

BL0CKS runs in your terminal. Bring your own AI — choose Claude, Gemini, or ChatGPT.

Step 1 — Install a JavaScript Runtime

You need Bun (recommended) or Node.js installed. Pick one:

Option A — Install Bun (recommended, fastest):

curl -fsSL https://bun.sh/install | bash

Option B — Install Node.js:

# Using Homebrew
brew install node

# Or download the installer from https://nodejs.org/

Option A — Install Bun (recommended, fastest):

curl -fsSL https://bun.sh/install | bash

Option B — Install Node.js:

# Ubuntu / Debian
sudo apt update && sudo apt install nodejs npm

# Fedora
sudo dnf install nodejs npm

# Or use the official installer: https://nodejs.org/

Option A — Install Bun (recommended, fastest):

powershell -c "irm bun.sh/install.ps1 | iex"

Option B — Install Node.js:

Download and run the installer from nodejs.org — choose the LTS version.

Tip: Use Windows Terminal for the best visual experience with BL0CKS.

Step 2 — Play

Once your runtime is installed, open a terminal and run:

# If you installed Bun
bunx bl0cks

# If you installed Node.js
npx bl0cks

That's it. The game downloads, launches, and walks you through setup.

Want it permanently installed? Run one of these instead:

bun install -g bl0cks    # then just run: bl0cks
npm install -g bl0cks    # then just run: bl0cks

🔑 You'll Need an API Key

The game is powered by your AI. Grab a free key from any provider:

| Provider | Get Your Key | Edition | |---|---|---| | Google Gemini | aistudio.google.com/app/apikey | Gemini Edition | | Anthropic Claude | console.anthropic.com/settings/keys | Claude Edition | | OpenAI ChatGPT | platform.openai.com/api-keys | GPT Edition |

Your key is stored locally on your machine (~/.bl0cks/config.json) and never sent anywhere except directly to your chosen AI provider.


What Is BL0CKS?

BL0CKS is a strategy card game set on the streets of Chicago's South Side. You play as a rising figure navigating a world of shifting alliances, hidden agendas, and rival factions — all fighting for control of the same territory.

Every character you meet has a face they show you — and a truth they're hiding.

The catch? The AI running the game knows everything. You don't.

Your job is to figure out who's loyal, who's lying, and who's about to flip on you — before the clock runs out.


How It Works

🃏 Play cards to decide. Every turn, you're dealt a situation. Choose A or B. Each choice has consequences that ripple across the board — alliances shift, territory changes hands, and the people around you remember what you did.

🗺️ Control the blocks. The game board is a map of real South Side neighborhoods. You gain and lose territory through strategy, negotiation, and sometimes war. Every block you hold is a block someone else wants.

🔒 Trust no one. Every character has visible stats — loyalty, role, faction. But underneath, they have hidden motives that only the AI knows. You can spend rare Intel Cards to peek behind the curtain... but you never have enough of them.

⏱️ Beat the clock. Every action costs time. While you're thinking, rival factions are moving. The police scanner is ticking. You have 20 minutes to make your play before the board shifts without you.


In-Game Commands

| Command | Action | |---|---| | 15 | Play a card from your hand | | A or B | Make a choice when prompted | | INTEL [Name] | Spend an Intel Card to reveal hidden stats | | help | Show all commands | | quit | Exit the game |

The AI is the game engine. You can also type naturally — it understands strategy, threats, and negotiation.


What Makes BL0CKS Different

🤖 Powered By Your AI

BL0CKS doesn't lock you into one AI service. You bring your own. Connect your Claude, Gemini, or ChatGPT account and the game adapts to your model's strengths. Better AI means deeper stories, smarter characters, and more unpredictable betrayals.

🎴 No Two Games Are The Same

The AI generates hidden character motives, secret allegiances, and betrayal conditions fresh every session. You can't memorize the game. You can only learn to read it.

🛠️ Build Your Own Cards

BL0CKS isn't just a game — it's a game factory. Describe a character in plain English and the AI builds a complete, playable card with hidden stats, decision scenarios, and custom artwork. Bundle your cards into packs. Share them with the community. See what others have built.

🌍 Fork the Whole World

The entire game world — factions, territories, characters, art style — is designed to be swapped out. Someone will rebuild this as a corporate espionage thriller. Someone else will set it in a medieval court. The engine stays the same. The world is yours.


The Factions

| | Faction | Style | Color | |---|---|---|---| | 🔵 | The Governors | Expand or die. Pure board control. | Blue | | 🟡 | The Lords | Political. Alliance brokers. | Gold | | 🔴 | The Stones | Unpredictable. Chaos agents. | Red | | ⚫ | The Commission | The endgame. No one sees them coming. | Black | | ⬜ | The Law | Always watching. Never on your side. | Gray |


The Pillars

Every mechanic in the game serves one of three pillars. If it doesn't touch at least one, it doesn't belong.

🏘️ Territory — The block is the unit of power. Geography isn't decoration — it's the board.

🤝 Trust — Everyone has a visible loyalty score and a hidden truth. The gap between them is where the game lives.

⏳ Time — Every decision costs clock ticks. Hesitate too long and the world moves without you.


Roadmap

  • [x] Game Design Document v2.0
  • [x] CLI game engine — bring your own LLM
  • [x] Published to npm — bunx bl0cks
  • [ ] Full 12-level campaign (Act I–III)
  • [ ] Card Creation Engine
  • [ ] Visual mobile app
  • [ ] Multiplayer — PvP hidden-loyalty mode

For Developers & Creators

BL0CKS is built on Markdown files. Every card, every character, every level is a .md file that the AI reads and brings to life. The entire game world is open and forkable.

Want to build your own version? Clone the repo, swap the world files, keep the engine.

/world/territories.md    ← Your neighborhoods
/world/factions.md       ← Your power players  
/levels/                 ← Your story
/app/                    ← The game engine

Full architecture details are in the Game Design Document.


🔴 BL0CKS

A game about trust in a world where everyone's playing their own game.

Built by Ernesto "Beats" Rodriguez


bunx bl0cks

Play now. Trust no one.