# A world model small enough to run games on a Raspberry Pi Pico 2 W

Original title: A tiny world model running games on a Raspberry Pi Pico 2 W

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

▲ 268 · by [airinei](<https://news.ycombinator.com/user?id=airinei>) · 💬 18
[original](<https://github.com/SheepSeb/tinyworldformer>) · [HN discussion](<https://news.ycombinator.com/item?id=50295450>)

## Summary

SheepSeb built tinyworldformer, a looped transformer world model of just 26k–131k parameters that generates games frame by frame on a Raspberry Pi Pico 2 W. A separate tiny MLP actor plays inside the dream, never seeing the real game. The model hits up to 100% exact frames on Breakout and Flappy Bird and 83.6% on Doom-lite, and a Stream AC(λ) agent can even learn from scratch on the board.

## Key quote

> Agents trained only in the dream scored 210 there (the real maximum is 56) and 28 in the real game, as World Models (Ha & Schmidhuber) predicts.

## HN discussion (18 comments)

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

> I might have missed it in the readme, but what hardware did the training take place on? This is really neat.

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

> Is the actor trained on world model's mistakes as well? If so, it should learn to force hallucinations that force it into an easier state.

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

> This is incredibly cool! Fascinating to see looped transformers be necessary for mini-Doom, but not for simpler games.

---

## Cite

- Page: https://zeli.app/story/50295450
- Date: 2026-10-29
- Source: github.com (https://github.com/SheepSeb/tinyworldformer)
- Hacker News: https://news.ycombinator.com/item?id=50295450

## Other languages

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