I connected a fruit fly connectome to tic-tac-toe (with a minimax safety net)
Описание и применение
Использование реального нейронного соединения плодового мушки для игры в крестики-нолики с помощью минимакс.
Задача
How to use a real fruit fly connectome to play tic‑tac‑toe.
Результат
The FlyCNS‑TicTacToe agent can play tic‑tac‑toe using real fly neural wiring; with minimax it is unbeatable, without it the fly alone loses.
Рабочий процесс
- Select neurons that send motor commands and their central brain inputs.
- Use the connectome data for connectivity, synapse counts, and neurotransmitter predictions.
- Map each of the 9 tic‑tac‑toe squares to a group of output neurons and each player’s mark to a group of input neurons.
- Simulate signal flow through the network to determine activity levels for each square.
- Choose the square with the strongest activity as the fly’s move; if minimax is enabled, filter the fly’s choice to the best minimax moves.
- Play the game from the terminal.
- Optionally run the pipeline once to build the circuit before playing.
Доказательства
Scientists have mapped the whole nervous system of a fruit fly: every neuron and every connection, in a public database called a connectome.
Python, neuprint-python, networkx and pandas do the work.
- Дата записи: 2026-10-10T07:55:53.040Z