Machines that learn, on the Atari® 2600
ONE NEURON DRAWS ONE STRAIGHT LINE.
SOME QUESTIONS NEED MORE.
Early AI ideas, cut down until they run on a console from 1977, each with knobs to turn. The first room trains a real neural network on the console's own processor, a 6507 at 1.19 MHz. The cartridge has no processor of its own.
Early build: 2 rooms so far 128K 3E cartridge NTSC
Iced or hot, learned: a hot drink on a cold day, an iced one on a hot day.
Press POWER ON. Up and down choose a room, Space enters it, and Space again starts it. Space runs and pauses. While a room is paused, left and right choose a knob and up and down change it. SELECT goes back to the menu. In the Chaos game the arrow keys move a corner while it runs. The emulator is Stellerator, by Christian Speckner.
You enjoy an iced drink on a hot day and a hot drink on a cold day. Across the map is how hot the day is; up is how hot the drink is. Lit means you will enjoy it. The room starts with one neuron and lets you watch it try.
One neuron, 479 epochs. It has settled on "anything hot is good", is sure a hot drink on a hot day is lovely, and stays at three right out of four however long it runs. One neuron can only split the map with one straight line.
Set HIDDEN to 2 and run it again. In 197 epochs the hot-hot corner goes dark, two opposite corners stay lit, and it says SURE. Same drinks, same rule for learning. One more layer.
The sums are exact. Every weight on the console equals the same network worked out in Python, step for step, checked by a script beside the code.
A dot jumps half way to a corner picked by dice, again and again. Nothing in that rule mentions a shape. Watch what the dice draw, then move a corner with the stick, or change the rule.
Three corners, 1,364 random jumps. No dot ever lands in the middle triangle. With four corners the same rule fills the square with fog, until the dice are forbidden the same corner twice.
Five corners, each jump .62 of the way: a pentagon of pentagons. The cartridge's picture is checked dot for dot against the same rule in Python.
The plan is about 35 rooms behind one menu, each one idea you can play with in 90 seconds. Two are built. Several come from Michael Borck's AI Toys for his students, and keep their names.