Lead N flies into the jar before the clock runs out.
Stay in front of a fly and go slowly.
Why flies follow the dot
These are male fruit flies. A male chases small things that move, because that is how he keeps up with a female. Your dot is the small thing that moves.
Every turn a fly makes here comes from a fly brain simulated cell by cell. What the fly's left eye sees and what its right eye sees go in; a turn comes out. This table is that measurement:
Something on one side only: the fly turns hard toward it. More on one side: it turns that way. The same on both sides: it walks on with a slight pull to the right. So your dot has to be the biggest thing on one side of a fly, and a raisin or another fly can steal a fly from you.
This is the scrambled brain: every cell keeps its number of connections, but the partners are random, and its table is measured the same way. It turns right, or hardly at all, whatever side the dot is on, so its flies circle instead of following.
Try the same game with a brain whose wiring has been scrambled: every cell keeps its number of connections, but the partners are random. Its table is measured the same way.
The neurons and sources
Each eye's small-object detectors (LC10a) were driven at four strengths, alone and in every pair, and the left and right steering neurons (DNa02) were counted. The stronger side is the side the fly turns to; that direction comes from recordings in real flies.
Chosen for the game, not measured: walking speed, a small random wobble in each walk, the field of view (150 degrees around the head), how far a fly sees, the dot, walls, raisins and the jar. Real flies chase; they do not get herded.
Wiring: MaleCNS v1.0, Janelia FlyEM and Google Research, CC-BY 4.0. Neuron model in the manner of Shiu et al., Nature 634:210 (2024). LC10a: Ribeiro et al., Cell 174:607 (2018). DNa02: Yang et al., Cell 187:6290 (2024).