Thoughts • AI and engineering • • 7 min read

Pixel Vault: A Playable Museum of Game Design History

Every prototype is one HTML file. Under 50KB. No frameworks, no CDN, no npm. Double-click and play. Pixel Vault is a growing museum of playable game mechanics built from scratch and organized by lineage, playable forever in any browser. Two published tracks cover about seventy years of video game history and the AI archaeology overlay that shows what the machine sees inside each mechanic.

Pixel Vault museum gallery showing a grid of colorful retro game thumbnails across genre series

It started in a notes folder one afternoon. No plan. No design doc. Just a canvas element and curiosity. By the end of that day I had a Pac-Man clone running in a single HTML file. Pure JavaScript, zero imports, playable by double-clicking.

Then I made another one. Then another. Before I set up a dedicated repo, the pattern was already showing itself.

That project is Pixel Vault. A museum of every fundamental game mechanic in its smallest possible form. Hundreds of playable prototypes and counting, organized by genre with lineage notes, and all of them playable right now.


The Constraint Is the Feature

Every game in Pixel Vault has the same rules:

  • One HTML file. No external JavaScript, no CSS, no images.
  • Under 50KB. That is 51,200 bytes including all the code, all the styles, all the UI.
  • Canvas-based. 800 by 600 logical pixels. 60 frames per second.
  • Playable offline. Double-click the file and it runs. No server, no internet.

These rules are the design.

Strip away the engine, the asset pipeline, the physics library and the package manager, and what you have left is the mechanic itself. Pong is a game about timing and prediction. Asteroids is a game about momentum and commitment, and the paddles and the rocks are only what you see. Under the limit you find out what each game actually is.

And when you rebuild them from scratch, you start to see the family tree.


Two Published Tracks

The collection is organized into tracks, two lenses on the same history, and a third frontier still being explored.

Track 1: Archetypes. The foundational track. Reconstructions covering 20 genre series across the full arc of arcade history. Paddle games from the 1972 Pong lineage. Maze games from Pac-Man through Bomberman. Fixed-position shooters from Space Invaders through Galaga. Platformers, puzzlers, racing games, RPGs, tower defense, fighting games, sports simulations. Every major family in the history of interactive entertainment, traced back to its roots.

Each one carries a metadata block at the top of the file with its series code, era, mechanic and ancestry chain. So the block on a maze game reads "a maze game that descends from Pac-Man (1980) through Bomberman (1983) into the procedural generation patterns of the 2010s," and not just "this is a maze game."

Track 2: AI Archaeology. The same games through a different lens. Press the H key in any of these and an overlay appears showing the AI concept lurking inside the mechanic, neural pathfinding, generative terrain, emergence from simple rules. The game plays the same, and you can see what the machine sees.

What would the same human designers have seen differently in their own ideas if AI had been available when these mechanics were invented? That is the question under this track. I am not asking what the AI would have made.


The Frontier: AI Evolution

Alongside the published tracks, I am running a longer experiment. I have built well over a hundred AI Evolution prototypes, games that do not descend from any known human ancestor, atmospheric experiments and mechanics that do not have a genre name yet.

Some of them are genuinely strange. Others are familiar-feeling but unfamiliar-playing. I am mining the edges between known genres, looking for something that is not out there yet.

What I am looking for is one mechanic, somewhere in this frontier, that creates a feeling in the player which has never been created before. The interaction itself has to be new. A new story on an old mechanic or a reskin of Tetris does not count.

I do not know which prototype number that will be. That uncertainty is the whole point of casting a wide net. You build many to find the one. This is the ongoing work, recording history while also trying to make some.


The Museum, Not the Arcade

An arcade wants you to keep playing. A museum wants you to understand what you are looking at.

Every game in Pixel Vault has an info panel (press the question mark key). It tells you the game's history, its mechanical lineage, what era of game design it represents, and why that particular interaction mattered when it first appeared. The gallery page lets you browse by series, filter by track, and launch any game in a dedicated playback engine that fills the screen and gets out of the way.

The compendium is worth time on its own. It traces 70 years of game design through the creators who shaped it, going past "Shigeru Miyamoto made Mario" to the full chain. Ralph Baer's Magnavox Odyssey in 1972, Nolan Bushnell's Atari, Tomohiro Nishikado's Space Invaders, Iwatani's Pac-Man, and the branching tree that followed. More than 70 designers, each connected to the prototypes that carry their DNA, and the place to start if you have ever wondered who invented the things you have been playing your whole life.


How It Gets Built

Agent mode. I work in Claude with it running inside VS Code. I pick a series, find the next mechanic in the lineage, describe what I want, and let the agent generate the file. Then I play it, break it, refine it, and play it again. Most prototypes take one session. Some take three. The workflow itself is in Agentic Development: How to Build Software with AI Agent Workflows.

The constraint makes this possible. Every game is self-contained, so there is no build step and no shared state, and no integration tests against the other games. You write the file, open it, play it, and the feedback comes back in seconds.

A five-job CI pipeline runs on every push, checking structure, size, metadata and security and then regenerating the catalogue. If a game fails any check, it does not merge. The QA dashboard lets me test every game in the browser and rate it on four tiers, Broken, Playable, OK, Certified.

The batch tools handle the tedious parts, injecting touch controls for mobile, updating disclaimer text, polishing canvas text contrast. They are Python scripts that work on the files without needing to understand the games.


Desktop-First

Pixel Vault was designed and tested on desktop. The keyboard controls, the 800×600 canvas and the 60fps loops are all built for that.

Mobile support is a work in progress. The touch control layer is built and injected into all games, and many do run on phones, but it can be clumsy, and I am still working out the remaining bugs. If you hit something rough on mobile, that is where it stands today.

For now desktop is the place to play. Double-click any game and it fills your browser.


The Technical Contract

The architecture decision records in the repository document every structural choice. Why single files. Why 50KB. Why canvas instead of DOM. Why requestAnimationFrame instead of setInterval. Why multiple tracks instead of one flat collection. Why metadata blocks appear before the DOCTYPE declaration.

Each one solves a specific problem.

Single files mean zero dependency rot. The games written in 2025 play identically in 2026 and will play identically in 2036, with no framework to deprecate, no CDN to go down, no package version to break.

50KB means the mechanic fits in your head. If a game needs more than 50KB it probably has mechanics that do not belong together, and I split them until the core is what is left.

Metadata blocks mean the collection is self-documenting. Any tool can parse the comments at the top of the file without loading a game engine. The manifest, the catalogue, and the gallery all generate automatically from those blocks.


The collection lives at play.joshuaayson.com. The history lives in the compendium. For the people behind one stretch of that history, I reviewed Masters of Doom, David Kushner's book on John Carmack and John Romero at id Software. The same constraint-first philosophy also runs through Four Films From Code, animated short films built from Python, numpy, and stick figures with the same zero-dependencies rule. And if you are curious about the rest of what is being built, the projects page has the full set.