2026-11-26 15:39 UTC

Maharishiva releases a browser-playable 13.9M-parameter Craftax world model

state: seedheat: mediumuncertainty: mediumrelevance: highworld-models on-device-ai interactive-simulationMaharishiva

What is this?

Maharishiva’s tinywmcraft is a learned pixel world model of Craftax-Classic, a 2D Minecraft-like game. The project page says its 13.9-million-parameter model predicts the next frame, reward and episode ending from prior frames and an action, without using the game engine or game state; it can be played in a browser using WebGPU. The creator offers code, a training recipe and a benchmark for submitted models. They report training in under 10 minutes on one A100 for about $0.10; these are project claims, not independently verified results. The supplied sources describe the model’s limits too: it can forget game state, such as a table after walking away. Search results additionally surface checkpoints, data and repository activity, but provide no independent evaluation or adoption evidence.

Why it matters

A compact, playable world model makes interactive simulation tangible: instead of rendering a fixed recording or running the original game engine, the model generates what happens as a player acts. The open recipe and benchmark could let researchers and coding agents iterate on world-model quality at low reported compute cost, widening participation in experimentation. But this is a small, narrow game environment, and the reported cost and performance come from its creator; it does not establish reliable long-horizon memory or broad real-world simulation.

Current assessment

New project release from Maharishiva: tinywmcraft provides a browser-playable, 13.9M-parameter learned model of Craftax-Classic, plus source code/training instructions and a benchmark. The project describes generating each next frame from encoded frame history and an action, with reward and episode-end predictions; it says worlds are generated rather than replayed and the game engine/state are not used. Creator-reported figures: under 10 minutes of training on one A100 for roughly $0.10; benchmark submissions use a three-seed mean, and the listed best score is 0.562 ± 0.017. Treat these figures and evaluation as project claims; no independent validation is supplied. The site requires WebGPU and identifies Chrome, Edge and Safari on iOS 26 in its launch description. The creator explicitly notes a memory failure—walking away from a table and back can make it disappear—so extended consistency is an open issue. Search results show checkpoints, a dataset and repository development, but not independent adoption or evidence of generalization. Significance is primarily as an accessible, reproducible experiment in action-conditioned learned worlds and agent-driven model iteration, not evidence that inexpensive models can yet simulate arbitrary environments reliably.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 573h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

11-02 19:24 (minted)⭐ origin echo-reconstructedThe project page describes a playable browser world model trained from game frames and actions, a benchmark for submitted models, and creato
Maharishiva on blog (echo) · attributed from hn.story.50341631 · published time unknown
—
11-02 18:48first on hacker news · published · lag ?Show HN: A 14M-param world model of 2D Minecraft you can play on your phone
maharishiva
—
11-02 18:48amplified on hacker news 👑hn.story.50341631
maharishiva
peak 3 · 2 comments · 100% of case engagement
11-02 19:21our radar first saw it · lag ?discovery anchor: hn.story.50341631—
pace: p44 vs 1845 stories at the 336h mark (now 573h old) — ahead of 42loop-agent-operated-product-experiment (1.2x), behind 5dive-self-hosted-coding-agents (0.8x)

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnShow HN: A 14M-param world model of 2D Minecraft you can play on your phone
Retrieved article excerpt

Open article · Retrieved 2026-11-02T19:23:45.016364+00:00

[GitHub](https://github.com/Maharishiva/tinywmcraft)
tinywmcraft

# Train a world model in under 10 minutes for $0.1 of compute, and play it!

Every frame below is generated by a 14M-parameter world model on your GPU, one action at a time. Train your own, [autoresearch style](https://maharishiva.github.io/tinywmcraft/#autoresearch), and beat ours.

now playing: [iteration 3](https://github.com/Maharishiva/tinywmcraft/blob/8538aa5/train.py) by crown[Maharishiva](https://github.com/Maharishiva)



## autoresearch you can play

Point your coding agent at tinywmcraft: it trains a world model in 10 minutes, scores it, and tries again. Push the score up, then play the model you made: walk around inside it, craft, fight, and see what it gets wrong.

Beat 0.562 and yours is iteration 4: the crown goes next to your GitHub login, and the player on this page switches to your model. Paste this into your coding agent:

>/goal Clone https://github.com/Maharishiva/tinywmcraft, read program.md, get a GPU (a Google Colab A100 works: uv tool install google-colab-cli), beat the best world model under the rules on the three-seed mean, and only then open a pull request.

paste into Codex, Claude Code or any coding agentcopy

The best so far, by the score: how close imagined play comes to the real game in looks, game logic and memory, and how well the model predicts rewards and deaths, from 0 for a trivial model to 1 for the real game.

1. 1crown[Maharishiva](https://github.com/Maharishiva)0.562 ± 0.017[iteration 3](https://github.com/Maharishiva/tinywmcraft/blob/8538aa5/train.py) · train.py: shortcut loss, the heads' gradient into the trunk cut to a tenth in the second half, no hard-window mining, 1/8 game-start windows, two fused kernels, 349 lines
2. 2[Maharishiva](https://github.com/Maharishiva)0.463 ± 0.023[iteration 2](https://github.com/Maharishiva/tinywmcraft/blob/80b1c34/train.py) · tile transformer tokenizer trained on clean, half-masked and noised frames, fused Pallas kernels, hard-window mining, half the windows from game starts, symlog two-hot reward head
3. 3[Maharishiva](https://github.com/Maharishiva)0.287 ± 0.019[iteration 1](https://github.com/Maharishiva/tinywmcraft/blob/23e6515/train_tiny.py) · train\_tiny.py: the whole model in 178 lines, no custom kernels

gFVD of 698 training runs over 8 days: the accepted recipe steps down from 61.3 to 42.5


Our own autoresearch loop while the benchmark was being built: 698 runs in 8 days, ranked on gFVD alone (lower is better), on development data and an earlier eval. Now it is your agent's turn, on the full score.

[the benchmark: score over time, every entry, rules, metrics](https://maharishiva.github.io/tinywmcraft/benchmark.html)



## diamond speedrun

**Get a diamond  inside the world model**, in the player above, in the fewest steps. The fastest run posted before 24 December 2026 (PST) wins a paper copy of Sutton & Barto's *Reinforcement Learning*. Press save clip, then post it in the [discussion](https://github.com/Maharishiva/tinywmcraft/discussions/9) and on X. Rules: [diamond\_speedrun.md](https://github.com/Maharishiva/tinywmcraft/blob/main/diamond_speedrun.md). Found a funny glitch? Post it in the [glitch discussion](https://github.com/Maharishiva/tinywmcraft/discussions/10).

### the road to a diamond

wood
table
wood sword
wood pickaxe
stone
coal
stone pickaxe
stone sword
place stone
furnace
iron
iron pickaxe
iron sword
diamond
sapling
place plant
eat plant
drink
eat cow
zombie
skeleton
wake up

crafting recipe book

| make | needs | where |
| --- | --- | --- |
| place\_table table | 2 wood | on an open tile |
| make\_wood\_pickaxe wood pickaxe | 1 wood | next to a table; mines stone and coal |
| make\_wood\_sword wood sword | 1 wood | next to a table |
| make\_stone\_pickaxe stone pickaxe | 1 wood 1 stone | next to a table; mines iron |
| make\_stone\_sword stone sword | 1 wood 1 stone | next to a table |
| place\_furnace furnace | 1 stone | on an open tile |
| make\_iron\_pickaxe iron pickaxe | 1 wood 1 stone 1 coal 1 iron | next to a table and a furnace; mines diamonds |
| make\_iron\_sword iron sword | 1 wood 1 stone 1 coal 1 iron | next to a table and a furnace |
| place\_stone place stone | 1 stone | on grass, sand, path, water or lava |
| place\_plant plant | 1 sapling | on grass |

Wood comes from trees by hand, saplings from grass (1 hit in 10); stone and coal need a wood pickaxe, iron a stone pickaxe, diamonds an iron pickaxe. "Next to" is one of the 8 tiles around you. These are the real game's rules: the world model learned them from pixels and does not always keep them. In the real game, the first unlock of each of the 22 achievements is worth +1.




## how it works

tinywmcraft is a world model of [Craftax-Classic](https://github.com/MichaelTMatthews/Craftax), a 2D Minecraft, learned from scratch from pixels and actions alone. Given a history of frames and an action, it generates the next frame, the reward and whether the episode ends; feed its own frames back in and you can play inside it. Every world in the player starts from a first frame the model imagines from noise: nothing is replayed. **13.9M parameters** (5.2M tokenizer, 8.6M world model), trained cold in **under 10 minutes on one A100, about $0.1** of compute.

Colab Pro: $9.99 for 100 compute units, and a 40 GB A100 uses about 5.4 an hour (~$0.55/h). A full submission, three seeds with their evals, is under $0.5.

Frames go through the encoder to 4×4×32 latents, the world model denoises the newest latent in eight steps conditioned on the action, and the decoder shows the frame at every step

What runs on every action. No game engine and no game state: the encoder turns past frames into 4×4×32 latents, the world model denoises the next latent in eight steps conditioned on your action, and the decoder draws it.

[inside the model: tokenizer, losses, optimizer, kernels, sampling](https://maharishiva.github.io/tinywmcraft/model.html)
maharishiva32
🟧 echo.blog ⭐The project page describes a playable browser world model trained from game frames and actions, a benchmark for submitted models, and creatoMaharishiva——

Interpretation history

Decision trace