CONTACT: 3D Naval Combat Game Built Entirely with Claude Code

✍️ OpenClawRadar📅 Published: March 11, 2026🔗 Source
CONTACT: 3D Naval Combat Game Built Entirely with Claude Code
Ad

What CONTACT Is

CONTACT is a 3D naval combat game where two players hide 7 submarines plus 1 decoy in a 7×7×7 grid, then hunt each other with torpedoes and earned abilities. Ships can be placed along 8 axes (including diagonal across depth layers). The 3D grid is rendered in Three.js with three view modes: full cube, single slice, and x-ray.

The game was built entirely with Claude Code + Opus, with zero frameworks and zero server dependencies — it runs in a browser.

Core Game Mechanics

The 7×7×7 cube has 343 cells compared to 49 in a traditional 7×7 flat grid, making brute-force strategies impractical. The game revolves around a credit economy where hits earn credits that buy tactical perks:

  • Sonar Ping: Scan a 2×2×2 volume for presence
  • Recon Drone: Reveal a 3×3×3 volume (27 cells)
  • G-SONAR: Scan an entire depth layer (49 cells)
  • Depth Charge: Strike every occupied cell in a 3×3×3 volume
  • Radar Jammer: Invert your opponent's next sonar result
  • Silent Running / Acoustic Cloak: Hide ships from recon

Each turn gives you three slots: ping, attack, defend. You choose how to spend them.

Game Modes

  • Hot-seat PVP: Two humans, one screen, handoff screen between turns
  • Human vs Claude (Sonnet): Select "VS AI" on the title screen, enter your Anthropic API key. Claude places its fleet automatically, reasons about strategy via tool use, and plays with embedded tactical knowledge from prior games
  • Sonnet vs Sonnet (Agent vs Agent): Two Claude instances play full games against each other from the CLI. After each game, both agents reflect on the match and update persistent memory files with tactical lessons. Over multiple games, they evolve their strategies based on experience
Ad

Development Process

This was a collaborative development effort between the creator and Claude:

  • The creator wrote the Game Design Document and Delivery Plan
  • The creator managed implementation by breaking Phases into Sprints, Sprints into Tasks
  • Claude built the implementation across phases (core engine → placement → combat → perks → 3D rendering → AI modes)
  • The creator maintained architecture decisions, tested edge cases, caught design problems
  • Claude handled the TypeScript, Three.js rendering, Tone.js audio synthesis, and the AI integration layer

Getting Started

git clone https://github.com/ChrisSc/contact.git

cd contact

npm install

npm run dev

For AI modes, you'll need an ANTHROPIC_API_KEY.

The simulation mode is also available: npm run simulate -- 100 --rank recruit -v

To watch Sonnet agents reason: node.js npx tsx scripts/agent-play.ts --verbose

To disable learning: node.js npx tsx scripts/agent-play.ts --no-memory

📖 Read the full source: r/ClaudeAI

Ad

👀 See Also

Org Studio: Open-source dashboard for managing multi-agent AI teams
Tools

Org Studio: Open-source dashboard for managing multi-agent AI teams

Org Studio is an open-source dashboard that applies organizational design principles to coordinate teams of AI agents, with native support for both OpenClaw and Hermes Agent runtimes. It features team topology management, event-driven task boards, and cross-runtime communication where agents can mention each other in task comments.

OpenClawRadar
GuppyLM: A 9M Parameter LLM Built from Scratch for Educational Purposes
Tools

GuppyLM: A 9M Parameter LLM Built from Scratch for Educational Purposes

GuppyLM is a ~9M parameter language model trained from scratch on 60K synthetic conversations, using a vanilla transformer architecture with 6 layers, 384 hidden dimensions, and 6 attention heads. It trains in about 5 minutes on a free Colab T4 GPU and speaks with a fish personality focused on water, food, and tank life.

OpenClawRadar
Jean-Claude: A Satirical LLM Frontend Mocking EU AI Regulation, with 412 Cookie Partners and VAT Invoices Every 5 Messages
Tools

Jean-Claude: A Satirical LLM Frontend Mocking EU AI Regulation, with 412 Cookie Partners and VAT Invoices Every 5 Messages

Jean-Claude is a satirical LLM frontend that applies extreme EU-style bureaucracy to AI usage: 412 cookie partners, four-eyes principle requiring co-signature, per-token CO₂ tracking with mandatory €offset, VAT invoices every 5 messages, and a compliance center with fake GDPR/AI Act metrics.

OpenClawRadar
Relvy improves Claude's root cause analysis accuracy by 12 percentage points on OpenRCA benchmark
Tools

Relvy improves Claude's root cause analysis accuracy by 12 percentage points on OpenRCA benchmark

Relvy, a tool that automates runbooks, has demonstrated a 12 percentage point improvement in Claude's accuracy on the OpenRCA benchmark for root cause analysis. The results were shared via a Hacker News post with 11 points.

OpenClawRadar