~/roguelike.zacp.xyz

Why Luke and Seth Need Agentic CLI AI Tools

A persuasive essay, delivered via dungeon crawler

$ What is Claude Code?

Claude Code is an agentic CLI tool that lives in your terminal. Not a chatbot. Not a sidebar. It's an AI agent that reads your codebase, writes code, runs commands, creates commits, and iterates on errors — all from a single terminal session.

It's powered by Claude Opus 4.6, Anthropic's most capable model. Unlike chat-based coding assistants, Claude Code operates with full context of your project: it sees your file tree, reads your configs, understands your dependencies, and executes shell commands to verify its work.

# This is literally how you use it
$ claude
> "Build me a roguelike game with BSP dungeon generation,
  8 enemy types, recursive shadowcasting FOV, and an
  energy-based turn system. Deploy it to GCP with Terraform."

# ...and then it just does it.

$ The Landscape

The agentic coding space is heating up. OpenAI's Codex CLI (powered by codex-5.3-xhigh) is the primary alternative — similar concept, different execution. Both are terminal-native agents that can read, write, and execute code.

The key differentiator isn't the model — it's the paradigm. Both Claude Code and Codex represent a shift from "AI as autocomplete" to "AI as junior developer." The agent doesn't just suggest code; it implements, tests, debugs, and ships.

$ Why CLI > Chat

Chat-based AI

  • Copy-paste code snippets
  • Lost context between messages
  • Can't see your actual files
  • Can't run or test anything
  • You are the executor

CLI Agent (Claude Code)

  • Reads & writes files directly
  • Full project context always
  • Runs tests, sees errors, iterates
  • Creates commits, manages git
  • The agent is the executor

$ Proof: This Entire Page

This landing page, the game below, the Express backend, the Terraform infrastructure, the CloudSQL database, the Cloud CDN configuration, the Docker setup — all of it was built by Claude Code in a single session.

The roguelike below features BSP dungeon generation, recursive shadowcasting field of view, 8 enemy types with distinct AI behaviors, an energy-based turn system, equipment with rarity tiers, potions, scrolls, and a persistent leaderboard. Not bad for a proof of concept.

Check out the source: github.com/z-peterson/roguelike-zacp

$ The Dungeon Awaits

Controls

Arrow Keys or WASD — Move
YUBN — Diagonal movement
. or Space — Wait a turn
> or Enter — Descend stairs
G or , — Pick up item
I — Open inventory
E — Equip (in inventory)
U — Use item (in inventory)
X — Drop item (in inventory)
L — Leaderboard (after death)
R — Restart (after death)