Fruit Fly Labs
Level 1First scent
Par 1 dose
Planning

What the fly smells

A smell loses one point for every square it travels along the corridors. The fly walks towards the strongest one.

    Its brain, smelling

    Idle

    139,255 real neurons at their real positions. The smell at the fly's square drives 264 of its odor receptor neurons (glomeruli DP1m, DP1l, DM4, DL1, VC3, DM1); every spike after that is the connectome, simulated live.

      The hormones

      Real plant hormones, simplified into game rules.

      Ethylene C₂H₄
      The ripening gas. A ripe fruit smells and draws the fly; a second dose makes it ferment and smell much further.
      Gibberellin GA₃
      The growth hormone. The fruit swells until it fills the corridor and stays green: nothing gets past it, not the fly, not a spider, not a smell.
      Abscisic acid ABA
      The dormancy signal. The fruit goes to sleep and stops smelling. It also undoes gibberellin: a giant fruit shrinks back.

      Levels

      How it works

      The idea

      You never move the fly. A fruit fly finds food by smell, so you change what the maze smells like: treat a fruit with a plant hormone, and the fly reacts to the new smell on its own.

      How the fly decides

      Every smell has a strength: a ripe fruit 7, a fermenting or giant ripe fruit 11, a vinegar trap 9, the golden fruit 4. A smell loses one point per square as it spreads along the corridors, and walls stop it. Each step, the fly walks towards the strongest smell it can sense. When it reaches a ripe fruit it stops to eat it.

      How to play

      Pick a hormone, then tap a fruit. You can treat fruits before pressing Start and while the fly is walking. Reach the golden fruit to finish the level; use no more doses than par for three stars. Keys: 1 2 3 pick a hormone, Space starts and pauses, R restarts.

      The brain panel

      It runs the same simulation that plays chess on this site: the FlyWire wiring diagram of an adult fruit fly brain, 139,255 neurons, with a leaky integrate-and-fire model (Shiu et al., Nature 2024) computed on your device. The smell at the fly's square drives a set of real odor receptor neurons, faster for a stronger smell. From there the activity spreads on its own through the antennal lobe to the Kenyon cells and the mushroom body output neurons, and you watch it happen. Live means spikes being computed now; Replay loops the last computation while nothing changes. The panel shows what the smell does in the brain. It does not choose the route.

      What is real

      Ethylene really is the gas that makes fruit ripen, and fruit flies really are drawn to the smell of ripe and fermenting fruit. Gibberellins really make fruit grow larger and delay ripening; growers spray them on grapes and citrus. Abscisic acid really is a dormancy and stress signal, and it works against gibberellin in many tissues.

      What is simplified

      Real hormones act over hours or days, not instantly, and their effects depend on the fruit: in strawberries and grapes, abscisic acid actually helps ripening. No fruit grows to block a corridor. The fly's route follows a simple rule, the strongest smell wins, so that every level has a fair solution; the simulated brain reacts to the smell but does not steer. All food smells drive the same receptor neurons here; a real fly tells a banana from vinegar.