---
title: "Vibe Coding = Gacha Game"
url: "https://zuey.me/articles/vibe-coding-gacha-game?lang=en"
locale: en
access: members
full_text: false
published_at: "2026-07-19T02:00:00.000Z"
tags: ["Claude Code", "Vibe Coding", "AI Agents", "AI", "Programming"]
translations:
  vi: "https://zuey.me/articles/vibe-coding-gacha-game.md?lang=vi"
  zh: "https://zuey.me/articles/vibe-coding-gacha-game.md?lang=zh"
  ko: "https://zuey.me/articles/vibe-coding-gacha-game.md?lang=ko"
  ja: "https://zuey.me/articles/vibe-coding-gacha-game.md?lang=ja"
---
# Vibe Coding = Gacha Game

> Vibe coding is more like a gacha game than you think: the "almost there" feeling, random rewards, a context that sinks deeper with every prompt, and now an auto button called /goal. Here's what I dug up.

[goonnguyen.substack.com](https://goonnguyen.substack.com/p/vibe-coding-gacha-game)

> goonnguyen.substack.com

> **TIP:** **TL;DR:** Vibe coding works exactly like gacha: the "almost got it" feeling (near-miss) plus random rewards keeps you prompting forever. It's even worse than gacha, because every prompt carries all the previous misses in its context. `/goal` doesn't fix that loop, it just hides it, unless you write the stopping condition yourself.

At the "AI Agents for Business" event by NVIDIA x GearVN x NextLevelBuilder the other day, Việt shared a pretty interesting insight: **"Vibe coding is basically a gacha game"**.

![Vibe Coding = Gacha Game](https://media.zuey.me/blog/2026/f4b560f1-3b1c5bbe-9910-4a45-be3d-686228a5e324-1-105-c.jpeg)

I did some research and it really holds up. The deeper I dug, the more similar they looked.

Then I went back and reread Andrej Karpathy's original tweet from February 2025, the one that coined "vibe coding", and you'll find a line everyone skimmed past back then. He describes how, when the model can't fix a bug, he just works around it, or keeps asking it to **"ask for random changes until it goes away"**. In other words: keep changing random stuff until the error disappears.

Here are a few other insights I found:

![Vibe Coding = Gacha Game](https://media.zuey.me/blog/2026/b77603eb-pasted-image-20260719232519.png)

### 1/ That "almost there" feeling is a mechanism, not intuition

In gambling research it's called the **near-miss effect**. You spin a slot, the first three reels land on cherries, the fourth stops one notch off. You didn't win. But your brain reacts almost as if you did.

The classic study by Clark et al., published in *Neuron* in 2009, used fMRI and found that "misses" light up the very brain regions tied to reward, and they increase the motivation to keep playing. The best part, and also the scariest, is this: the near-miss mechanism evolved for **games of skill**, where "almost" really does mean "try again, you're close".

> When you bring near-misses into a game of chance, players mistake a game of chance for a game of skill.

Read that sentence again and replace "players" with "developers using AI".

Add **variable ratio reinforcement** on top, the random reward schedule Skinner described back in the 50s and the slot machine industry has milked to the bone.

![Vibe Coding = Gacha Game](https://media.zuey.me/blog/2026/23cd635f-cleanshot-2026-07-27-at-11-49-42-2x.png)

Its signature trait: it produces the **hardest behavior to extinguish** of all conditioning schedules. With a fixed ratio (one reward every 5 tries) you give up fast. With a variable ratio (you never know which try) you stay up until sunrise.

#### What the numbers say

Stack Overflow Developer Survey 2025, nearly 49,000 devs from 177 countries. The number one frustration with AI isn't "AI gives wrong answers", it's **"almost right, but not quite"**.

![Vibe Coding = Gacha Game](https://media.zuey.me/blog/2026/2e6fc856-cleanshot-2026-07-27-at-11-47-57-2x.png)

66% of devs worldwide are describing the near-miss effect precisely, they just call it by a technical name.

This is where the gacha comparison beats the plain slot machine comparison. A slot machine lets you lose everything. Gacha gives you an SSR hero from slightly the wrong banner, or a 4-star item instead of a 5-star.

You **get something**. It runs. It's close. It's just **not what you actually need**. And that's exactly what AI hands you at prompt number 7.

---

### 2/ Why every prompt sinks you deeper: it's math, not a feeling

In real gacha, every pull is **independent**. Miss 89 pulls in a row and **the 90th still has exactly the same odds as the first**.

> Probability doesn't remember who you are, and doesn't care what you rolled before.

Vibe coding is **worse than gacha**. Because every next prompt lives in the same context window as all the misses before it.

The paper *"LLMs Get Lost In Multi-Turn Conversation"* by Laban, Hayashi, Zhou and Neville, selected as an outstanding paper at **ICLR 2026**, ran over 200,000 simulated conversations across 15 models from 8 providers, over 6 task types: code, SQL, function calling, math, data-to-text and summarization.

![Vibe Coding = Gacha Game](https://media.zuey.me/blog/2026/db8496b2-cleanshot-2026-07-27-at-11-51-01-2x.png)

The authors' conclusion, in my own words:

> When a model takes a wrong turn in a conversation, it gets lost and does not recover.
>
> — Laban, Hayashi, Zhou & Neville

More specifically, they point out three behaviors:

- The model **commits to conclusions too early** in the first turns, based on incomplete information.
- It **doesn't update** old assumptions when new info arrives, it just **piles on top**.
- Responses get longer and longer, with more and more noise.

---

*Phần còn lại dành cho thành viên có quyền đọc toàn bài (Knowledges, Kết hợp, Cộng đồng) — see plans at https://zuey.me/pricing*
