# An LLM wrote a full first-person 3D game in 6502 assembly for the Commodore 64

Original title: C64 3D first person game written in assembly by an LLM

> Hacker News story 50765708 · language: en · submitted 2026-12-04
> Web version: https://zeli.app/story/50765708
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 104 · by [cyril-crutches](<https://news.ycombinator.com/user?id=cyril-crutches>) · 💬 33
[original](<https://github.com/needlestack/lest-c64>) · [HN discussion](<https://news.ycombinator.com/item?id=50765708>)

## Summary

Jonathan Field built LEST, a ten-level first-person 3D game for the unmodified Commodore 64, with Claude writing the 6502 assembly in Claude Code. It runs at full 160×200 resolution and beats the sub-10 fps of earlier C64 3D efforts through character-mode rendering, ray casting hinted from the previous frame, hardware sprites, and aggressive precalculation. Playable in the browser or on real hardware via disk or EasyFlash cartridge.

## Key quote

> Can an unmodified C64 run a first-person 3D game at full resolution with a decent frame rate? That was the question. And the answer turned out to be: better than I expected.

## HN discussion (33 comments)

### [LogicFailsMe](<https://news.ycombinator.com/item?id=50767831>)

> Probably in the training set...
>
> https://en.wikipedia.org/wiki/Wayout

### [e1ghtSpace](<https://news.ycombinator.com/item?id=50767709>)

> I got a few levels in, and had a fun time. Quite a good game if I do say so myself.

### [vunderba](<https://news.ycombinator.com/item?id=50766649>)

> See also SquareDoom - an AI assisted port of Doom for the C64.
>
> https://github.com/Kweepa/SquareDoom

### [mysterydip](<https://news.ycombinator.com/item?id=50765978>)

> I had wondered for a while if it would be possible to do this with a carefully crafted character map and a text mode, but I never found time to check. Thanks for sharing!

### [neko_ranger](<https://news.ycombinator.com/item?id=50766431>)

> esdf? what is this

---

## Cite

- Page: https://zeli.app/story/50765708
- Date: 2026-12-04
- Source: github.com (https://github.com/needlestack/lest-c64)
- Hacker News: https://news.ycombinator.com/item?id=50765708

## Other languages

- zh: https://zeli.app/zh/story/50765708 · markdown: https://zeli.app/zh/story/50765708.md
- ja: https://zeli.app/ja/story/50765708 · markdown: https://zeli.app/ja/story/50765708.md
- ko: https://zeli.app/ko/story/50765708 · markdown: https://zeli.app/ko/story/50765708.md
- de: https://zeli.app/de/story/50765708 · markdown: https://zeli.app/de/story/50765708.md
- es: https://zeli.app/es/story/50765708 · markdown: https://zeli.app/es/story/50765708.md
- ru: https://zeli.app/ru/story/50765708 · markdown: https://zeli.app/ru/story/50765708.md
