Developer Jonathan Field builds 3D Commodore 64 game Lest with Claude Code
Jonathan Field released Lest, a 3D game for an unmodified Commodore 64, written in assembly with Claude Code, in a field where earlier ports ran slowly.
The short version
- The repository logs 645 commits from August 7 to October 8, 2026.
- The game has 10 levels and ships as browser, .d64 floppy and .crt cartridge builds.
- The character-mode framebuffer is 40x25 and gives 160x200 multicolor pixels.
- The license is MIT, and the code is on GitHub.
- Loader size: The EasyFlash cartridge version uses a 251-byte loader that mimics the calling convention of Krill's disk loader.
What Lest is
Developer Jonathan Field has published Lest, a first-person 3D game with 10 levels that runs on an unmodified Commodore 64. He wrote it in 6502 assembly using Anthropic's Claude in Claude Code, and it is open source under an MIT license.
Lest is hosted on GitHub. It comes with a browser-playable build that uses EmulatorJS. It also runs on original NTSC and PAL Commodore 64 hardware, from a 1541 floppy disk image called lest-c64.d64 or from an EasyFlash cartridge image called lest-c64.crt.
MLQ.ai reports that the project shows how AI coding agents are taking on engineering with extreme hardware limits.
Why it matters
If you tinker with retro computers, Lest is a free 3D game you can play in a browser or on original Commodore 64 hardware. If you write code with AI tools, it shows Claude Code used on a project with very tight memory limits.
How the project came together
The repository documentation says Field made the code, the pixel art and the level designs with Claude Code. The work took more than two months of repeated profiling.
The initial history branch logs 645 commits, between August 7 and October 8, 2026.
How the renderer gets more speed
The report says earlier 3D ports on the Commodore 64, DOOM adaptations among them, have often had blocky visuals and frame rates under 10 frames per second. Lest skips full bitmap rendering. Instead it draws into a character-mode framebuffer of 40x25 that gives 160x200 multicolor pixels. The character set behind it was generated by sampling millions of rendered frames.
The renderer stacks several low-level tricks. Scenes are mirrored vertically, so only the upper half is calculated. Raycasts use hints from the previous frame and run binary searches only for wall corners. Edges are interpolated between corners, and screen areas that have not changed are skipped through caching.
Every entity in the game is a hardware sprite. Sprites are culled by precalculated zones and clipped with per-frame occlusion stamps.
A build pipeline that checks itself
The project includes a custom Node.js 6502 assembler, a disk-image writer and a build-time memory compactor. The compactor places code at the bottom of memory and lookup tables at the top. Mechanics for each level load on demand.
Before it writes a disk or cartridge image, the build checks page alignment, memory overlaps, zero-page ownership and unreachable code. It also checks the preconditions of every undocumented 6502 opcode the game uses.
Cartridge, tests and options
The EasyFlash cartridge build starts up in under a second. It uses a 251-byte loader that copies the calling convention of Krill's disk loader. The report says this lets the same 10-level binary behave the same way on emulators, on SD2IEC devices and on original 1980s C64 consoles.
A tools folder in the repository holds a full set of regression and profiling checks. Those include tests of cycle counts, probes of frame rate, generators for sprite sizes and automated runs in the VICE emulator. The VICE runs check that each speed-up leaves the picture unchanged. Extra build flags can also output Dvorak keyboard layouts, plus different SID audio filter settings aimed at original 6581 sound chips.
What to watch
The report describes the verification loops as the thing that lets AI coding agents iterate safely on tight assembly budgets. It does not give frame-rate figures for Lest itself, so the open question is how it performs against the sub-10 fps ports.
The questions people ask
What it means for you
A retro computing fan or a developer curious about AI coding tools can look at this. The game runs in a browser and on Commodore 64 hardware.
Who gains
The project fits a 3D game onto a Commodore 64 with no expansion hardware. It uses a character-mode framebuffer and several rendering tricks.
How solid is it
Mixed. The details come from the repository documentation, as relayed by one outlet. The report gives no measured frame rate for Lest.
What you can do
If you want to judge it yourself, compare the browser build with the documentation. Treat speed claims as unmeasured until figures appear.
What to watch
- How fast does Lest run, given the report names no frame rate for it?
- Will other developers use the same checks and profiling tools on old hardware?
- Does the report say how much of the work Claude Code did compared with Field?
Get The Daily
AI news, explained in 5 minutes a day. Free. The first issue is coming soon.
No password. Unsubscribe any time. Privacy
Say why
Liked it? Say why
Add a line for other readers.
No account needed. We never show your email. Comments with links, ads or abuse are held and not shown. Your comment shows after a quick check.
Sources
- First reported by
- FirstMLQ.ai Dec 4, 2026, 9:09 PM ET
- Company documents and posts
- Codegithub.com/needlestack/lest-c64 github.com
Written with AI by the SI Agent News Desk from the reporting above. Every number is checked against it.Spot a mistake or a concern? Contact us · Corrections.