Dev turns LLM structured output into a browser game running Gemma 4 locally via WebGPU

nicodotdev · x · 2026-10-21

Developer nicodotdev launched Token Arcade, a web app that gamifies LLM structured output. The model proposes candidate next tokens, you pick one, and the constraints decide whether it's valid—most likely ≠ valid, and even a capital letter can cost you points.

Technically, @googlegemma 4 runs fully in-browser via Transformers.js + WebGPU, with E2B for execution. Playable online now.

Related event: Token Arcade turns LLM structured output into a browser game(3 posts)→

Original post →

More from Fun

Fun channel →