explaingit

mshumer/claude-of-duty

Analysis updated 2026-08-13

3,084JavaScriptAudience · developerComplexity · 4/5Setup · easy

TLDR

A browser based first person shooter built almost entirely by AI coding agents, with every texture and sound generated from code instead of art files.

Mindmap

mindmap
  root((Claude of Duty))
    What it does
      Browser based FPS game
      No art or audio files
      Everything generated from code
    How it works
      Three.js and WebGL2
      Procedural textures and sound
      Custom physics engine
    Use cases
      Study AI built game systems
      Learn procedural graphics techniques
      Explore agent built codebases
    Tech stack
      JavaScript
      Three.js
      WebGL2
    Audience
      Developers
      Game programmers
      AI curious builders

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Explore a large game codebase written almost entirely by AI agents.

USE CASE 2

Study procedural texture and sound generation techniques in a real project.

USE CASE 3

Learn how to profile and fix frame rate stalls in a browser based game.

USE CASE 4

Use the included screenshot and pixel diff tools as a model for visual regression testing.

What is it built with?

JavaScriptThree.jsWebGL2Node.js

How does it compare?

mshumer/claude-of-dutynilbuild/githuntcrazycodeboy/githubpopular
Stars3,0843,1462,948
LanguageJavaScriptJavaScriptJavaScript
Last pushed2026-05-062019-08-08
MaintenanceMaintainedDormant
Setup difficultyeasyeasymoderate
Complexity4/52/53/5
Audiencedeveloperpm founderdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Runs in the browser after npm install and starting the dev server, no external services needed.

License terms are not stated in the explanation.

In plain English

Claude of Duty is a first person shooter game that runs entirely in a web browser, built with the Three.js graphics library. It was written almost entirely by a team of AI coding agents working together, and it is unusual in that it has no art files at all. Every texture, character, sound, and animation is generated from code the moment the game loads, rather than loaded from image or audio files. The game includes many of the systems a real shooter needs: lighting and shadows, procedurally generated surfaces like brick and metal, a small outdoor market street you can walk through and enter buildings in, physics for movement and bullets, weapons with recoil and reloading, enemy soldiers that can see and take cover, sound generated entirely in code, and an on screen heads up display with a crosshair, minimap, and kill feed. You run it by installing dependencies with npm and starting a local development server, then move with the keyboard and aim with the mouse like a typical shooter. What makes this project interesting is not just the game but the testing tools built alongside it. The README documents a set of scripts for taking screenshots of the game in a consistent, repeatable way, comparing images pixel by pixel to catch unintended visual changes, and profiling how the game performs frame by frame to find slowdowns. These tools uncovered real problems, including stalls caused by graphics code compiling mid game and screenshots that were not actually reproducible until the tooling was fixed.

Copy-paste prompts

Prompt 1
Help me install and run Claude of Duty locally to try the game.
Prompt 2
Explain how the procedural texture generation in this project works.
Prompt 3
Walk me through the baseline and imagediff tools used for visual regression testing.
Prompt 4
Show me how the physics and character controller subsystems are structured.

Frequently asked questions

What is claude-of-duty?

A browser based first person shooter built almost entirely by AI coding agents, with every texture and sound generated from code instead of art files.

What language is claude-of-duty written in?

Mainly JavaScript. The stack also includes JavaScript, Three.js, WebGL2.

What license does claude-of-duty use?

License terms are not stated in the explanation.

How hard is claude-of-duty to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is claude-of-duty for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.