A small world.
Real circuits.
One lineage.一个小世界。
真实的回路。
一条血脉。
Fruit Fly World is a single-player survival game about being a lineage of fruit flies on a dish that is trying to kill you. You forage under pressure, read a predator's committed lunge, and trigger the Giant Fiber escape when the reflex is ready. Underneath the game sits one piece of real neurobiology, written out so you can check it.Fruit Fly World 是一款单人生存游戏:你是一条果蝇血脉,而培养皿想弄死你。你在压力下觅食,读懂捕食者锁定的扑击,在反射就绪时触发 Giant Fiber 逃脱。游戏底下垫着一小块真实的神经生物学,而且写出来给你核对。

A real game first.
The model comes second.先做一款真正的游戏。
模型是第二层。
We borrow the readable loop of Vampire Survivors-style roguelites — move, survive, collect, choose an upgrade — then build our own biology-inspired world. Fifty seconds a generation, one predator, three kinds of food, and a mutation draft at the end.我们借鉴 Vampire Survivors 这类 roguelite 清晰易懂的循环——移动、生存、收集、选择升级——但做出自己的生物学世界。一代 50 秒、一个捕食者、三种食物,结束时抽一次突变。



Not a big brain.
A few very good circuits.不是一颗大脑袋,
是几条极好的回路。
Fruit flies are small, but their brains are remarkably good at turning smell, light, hunger, and danger into action. We took one of those circuits — the one that decides to jump — and made it the load-bearing piece of a game you can actually play.果蝇很小,但它们的大脑很擅长把气味、光线、饥饿和危险变成行动。我们挑出其中一条回路——决定「跳」的那条——把它做成一款真正能玩的游戏的承重结构。
Two streams, one decision
Angular velocity and looming size are computed separately, then converge on the Giant Fiber. Neither stream alone is the escape.角速度和 looming 角尺寸分别计算,然后汇到 Giant Fiber。任何单独一路都不是逃脱。
Read it, then act
The reflex bar fills as the predator commits. You do not dodge continuously — you make one timed decision, the way the circuit does.捕食者锁定弹道时,反射条在充能。你不是在持续闪避——你只做一个带时机的决定,和回路本身一样。
Short decisions.
A longer lineage.短暂的决定,
更长的血脉。
Every generation turns a few seconds of reading and acting into a consequence that is carried forward. The rules are explicit, and the whole loop fits in fifty seconds.每一代都把几秒钟的观察与行动,变成一个会被带下去的后果。规则是明确的,整个循环装在 50 秒里。
FORAGE觅食
Move toward sugar, yeast and rot. Food becomes energy, and your position on the dish changes the risk of the next second.向糖、酵母和腐烂物移动。食物变成能量,而你在培养皿上的位置会改变下一秒的风险。
MANAGE ENERGY管理能量
Energy above the laying threshold turns into eggs automatically. The richest food sits where the predator hunts, so the safest route is rarely the fattest one.能量超过产卵阈值就会自动变成卵。最丰盛的食物长在捕食者巡猎的地方,所以最安全的路线很少是最肥的路线。
READ THE LUNGE读懂扑击
The predator approaches, then commits to a ballistic trajectory it will not correct. Watch the approach and wait for the Giant Fiber response to read READY.捕食者先接近,然后锁定一条不会中途修正的弹道。观察它的接近,等 Giant Fiber 响应变成 READY。
ESCAPE逃脱
Press Space, or tap GF ESCAPE, inside a short window. That one decision is what the whole escape circuit exists to make.在一个很短的窗口里按空格,或点 GF ESCAPE。整条逃脱回路存在的意义就是做这一个决定。
CARRY IT FORWARD延续血统
At generation end, compare your eggs against the wild type and draft one mutation from three cards. The next fly inherits the consequence.一代结束时,把你的卵和野生型比较,从三张卡里抽一张突变。下一只蝇会继承这个后果。
Two inputs.
One jump.两路输入,
一次跳跃。
The escape reflex in the game is the one part that is not invented. It follows the visual pathway into the Giant Fiber, with the synapse counts taken from published male brain connectome data.游戏里的逃脱反射,是唯一没有凭空发明的部分。它沿着通往 Giant Fiber 的视觉通路走,突触数取自公开的雄性大脑连接组数据。
2,442 Σ
Angular-velocity neurons. They report how fast a shape is turning across your field of view.角速度神经元。它们报告一个形状掠过视野时转得有多快。
1,366 Σ
Looming neurons. They report a shape growing in size — something getting closer, fast.looming 神经元。它们报告一个形状正在变大——有东西在快速靠近。
DNp01
Both streams land on one descending neuron that fires the jump. In the game, that is the READY state.两条输入汇到同一个下行神经元,由它触发跳跃。在游戏里,这就是 READY 状态。
Same seed.
Real wiring vs swapped.同一个种子,
真实连接 对 对调连接。
This is the part you can check without trusting us. Run the same loomings against the real connectivity and against a version with the two channel weights swapped, and see whether the channel order is doing any work. It is a simplified two-channel assay, not an experiment on the connectome.这是你不用信我们就能核对的部分。让同样的 looming 分别跑真实连接和把两个通道权重对调的版本,看通道顺序到底有没有在起作用。这是一个简化的双通道试验,不是对连接组做的实验。
1337
Every trial starts from the same seed, so the run is the same run for everyone who repeats it.每次试验都从同一个种子开始,所以谁重复跑,跑的都是同一轮。
200
Real connectivity against swapped connectivity, same seeds, same loomings, same predator.真实连接 对 对调连接:同样的种子、同样的 looming、同样的捕食者。
100% vs 68%
Real connectivity escapes 100% of the time with 0.202 s of lead; swapped escapes 68% with 0.183 s. A simplified two-channel assay: the gap says channel order matters in this circuit.真实连接 100% 逃脱,领先 0.202 秒;对调连接 68%,领先 0.183 秒。这是一个简化的双通道试验:差距说明的是通道顺序在这条回路里起作用。
Death ends a generation.
Not the run.死亡结束一代,
不是整轮。
You are not a fly, you are a lineage. Eggs are the score, mutations are the upgrade, and the wild type is the thing you are trying to outproduce.你不是一只蝇,你是一条血脉。卵是分数,突变是升级,而野生型就是你要超过的那个对手。
VS WILD TYPE
Energy converts to eggs on its own. The generation is scored by how far ahead of the wild type it finished.能量会自行转化为卵。这一代的成绩,看它比野生型领先多少。
3 → 1
Three cards, one choice. Twenty-four mutations exist across the pool, and the one you take changes how the next generation plays.三张卡,一个选择。池子里有 24 种突变,你拿的那一张会改变下一代怎么玩。
LOCAL
The lineage is written to your browser only. Death ends a generation — it does not end the run.血脉只写在你的浏览器里。死亡结束的是一代,不是整轮。
Inspired by a circuit.
Not a complete brain.受回路启发,
不是完整的大脑。
The game uses research-informed names as design references. Saying exactly what it is not is part of the design, not a disclaimer bolted on afterwards.游戏把研究中的名称当作设计参考。把「它不是什么」说清楚,是设计的一部分,不是事后钉上去的免责声明。
A MODEL
A simplified, connectome-inspired escape circuit, plus a game built on top of it.一条简化的、受连接组启发的逃脱回路,以及建在它上面的游戏。
NOT A BRAIN
Not a complete fruit-fly brain, not a full FlyWire or MaleCNS runtime, and not a neuron-by-neuron simulation.不是完整的果蝇大脑,不是完整的 FlyWire 或 MaleCNS 运行环境,也不是逐神经元的仿真。
RUN IT
The wiring check ships with the game: same seed, real connectivity versus swapped, and the numbers are reproducible.连线核对随游戏一起提供:同一个种子,真实连接 对 对调连接,数字可以复现。