LEST: a first-person 3D game runs on an original Commodore 64 — with code written using Claude Code

A complete, playable first-person 3D game is running on an unmodified Commodore 64 — and much of its 6502 assembly code was written with the help of Claude Code, Anthropic's programming tool. The game is called LEST, it was published on GitHub by developer Jonathan Field, it reached version 1.0 on December 2, and it hit the Hacker News front page on December 4.

15 fps on a 1982 machine

LEST is a first-person action-puzzle game with 10 levels that runs at around 15 frames per second at 160×200 multicolour pixels — the full resolution of the 1982 machine. To get there, Field used rendering tricks such as drawing the scene in character mode (40×25) and rendering only the top half, mirrored below, plus binary-search corner raycasting, dirty-region caching and hardware sprites. Other 3D games for the C64 usually stay under 10 fps.

The author is careful to delimit the AI's role: Claude Code wrote the code, but the engine architecture, rendering techniques, optimisation, level design and testing were his. The graphics and audio mix handmade pieces with AI-generated ones. The project took more than two months of iterative work — 645 commits between August 7 and October 8, 2026 — and includes a custom 6502 assembler written in Node.js.

Free, open and playable

LEST is free and open source (MIT licence): you can play it in the browser, in the VICE emulator, or on original hardware, from a .d64 floppy image or an EasyFlash .crt cartridge image. The code is open for anyone who wants to check how each problem was solved — and the author makes clear this is not a tech demo: it is a complete game, playable from start to finish.

Read also: Experiment runs an LLM written in F# on a 1982 Commodore 64 with 64 KB of RAM

Image: thumbnail of the official LEST trailer. Credit: Jonathan Field.

Sources

Transparency note: this article was produced with the assistance of artificial intelligence, cross-checked against public posts on X and internet sources, and reviewed before publication. Please consult the original sources to confirm the information.

By Muse