a real fruit-fly brain, learning to play
Click to look around
Click to look around. WASD or arrow keys to walk, Shift to run. Click a table to go to it; Esc frees the mouse.Stick to walk, drag to look, tap a table to go to it.
Your pawn becomes…
Every move it plays gets a taste test (sugar if it was good, a sting if it was bad), and every win and lost piece sends dopamine through its mushroom body.
In 2024 scientists finished FlyWire, a map of every neuron in an adult fruit fly's brain: 139,255 neurons joined by 54 synapses. This game downloads part of that map and plays chess with it.
It uses the fly's learning centre, the mushroom body, wired exactly as the scientists mapped it:
The fly looks one move ahead and nothing more; everything else it has to learn. It is a simple model: each neuron is a number rather than a firing cell, and only the learning centre runs; the rest of the brain is the cloud you see. Its brain lives in your browser and keeps learning every game, so your fly is different from everyone else's. When it practises, it dreams games against a pond frog, and each time it wins 10 of its last 20 it moves up to a harder enemy: a toad, a heron, an owl, and finally Stockfish, the strongest chess engine there is.
Data: FlyWire connectome v783: Dorkenwald et al. 2024 and Schlegel et al. 2024 (Nature); connection table from Shiu et al. 2024 (Nature). Neuron positions are real; the glowing cloud is the whole brain. Dream enemy: Stockfish 19 via stockfish.js by Nathan Rugg, free software under the GNU GPL v3.
Play chess against a real fruit-fly brain. It starts knowing nothing and learns from every move.
Waking the fly…