RetroVerse Studios presents, for the Atari® 2600

AGAR

A BENCH OF CULTURES.
THEN MAD SCIENCE.

Agar is the jelly that lab cultures grow on. Here it is poured into a jar on an Atari 2600, and a culture is sown in it. The culture follows a rule, the way the cells in Conway's Game of Life do, and you keep it alive: give it light, water and warmth, cut it back, put the lid on, and see what lives.

Take a bottle off the shelf, pour it, and watch. Or set a length, switch on time lapse, and let the console run the experiment as fast as it can.

Version 0.5, an early cartridge 32K cartridge, type 3E NTSC 1 player

This page pouring a jar and running the Life moss's rule by itself, in the cartridge's colours, from the same seed the cartridge sows.

Pour a culture Water it, cut it, warm it Watch it, or time-lapse it No processor in the cartridge

A pet that is only a rule. Agar began as a moss in a jar: a pet that is only a rule. You can't tell it what to do. You can only change its world, a drop of water or a cut at a time, and see how it answers.

A bench of cultures. The shelf holds a bottle for each culture, and each one lives by a different rule. Moss that grows toward the light. Mites that eat the moss. More are coming: red against blue, and rock, paper, scissors.

Then mad science. The last stage of the plan is a bench of your own: build a creature, release it into a jar, and see if it survives the challenges. Agar is a toy for getting a feel for how simple rules make living patterns, not real science.

Play it right here

Press POWER ON, then click the picture. On the shelf, the arrows pick up a bottle and Space pours it; down goes to the settings. In the jar, the arrows move the cursor and Space uses the tool in hand. Go down past the floor of the jar to change tools. Shift+Enter is RESET, a new jar of the same culture. Shift+Space is SELECT, back to the shelf. The emulator is Stellerator, by Christian Speckner.

Actual game screens

AGAR in blue letters over two bottles on a brown plank. The right-hand bottle is lifted, and the words under it say MOSS AND MITES, then FOREVER and WATCH

THE SHELF

Choose a culture

Left and right lift a bottle off the plank, and its name shows underneath. The console starts here, and SELECT always comes back here.

A jar with a thin amber stream falling into it from the top, and amber agar filling the bottom third

THE POUR

Into the jar

A stream falls to the floor, the agar rises, the stream stops, and the agar sets from the top down as the culture is sown in it. About two seconds.

A jar with a few small green patterns in a wide olive band of light. Under it: CONTENT H2O 4 HOT 3 S 00, and the tools H2O CUT SUN HOT LID

LIFE MOSS

Growing toward the light

The olive band is the light. Under the jar: the moss's mood, the drops left in the can, the warmth and the spores, then the tools, with a star by the one in hand.

A jar crowded with green moss and smaller half-height mites, with MOSS 13% MITE 06% under it

MOSS AND MITES

Something eats it

Full cells are moss and half-height ones are mites. The line under the jar counts how much of it each one holds.

The shelf with LIFE MOSS named under the bottles, and the settings 250 GENS and TIME LAPSE

THE SETTINGS

Set up the run

Down from the shelf reaches two settings: how long the run lasts (for ever, 250, 500 or 1000 generations) and whether to watch it or run it in time lapse.

A black screen with the words LAPSING 0075 GENS near the bottom

TIME LAPSE

Running dark

The jar goes dark and the console spends its drawing time on the sums instead, about three times as fast. Hold fire to look.

A jar with a few scattered small patterns, ASLEEP under it, and DONE AT 0250 GENS

THE END OF A RUN

Done at 250

At the end of the run the jar stops and the tools go off. This Life moss was left alone for 250 generations, and it fell asleep: a few still shapes that no longer change.

Every screen above came out of the cartridge, run in an emulator by a script.

The cultures

Each culture is a few lines of rule. The jar is 48 cells across and 62 down. Every generation, every cell looks at its eight neighbours and the rule says what it becomes.

LIFE MOSS B3/S23 Conway's Game of Life: a cell with exactly 3 live neighbours is born, and a live cell with 2 or 3 survives. The twist is the light. A cell can be born only in the light, and in the dark each live cell fades with odds of 1 in 128 a generation, so the moss leans toward the light. Moss that climbs out of the mouth leaves the jar as a spore.
MOSS AND MITES Nobody counts here. A cell only asks whether moss or a mite is next to it. An empty cell in the light becomes moss with odds of 1 in 8 if moss is beside it. Moss becomes a mite with odds of 1 in 2 if a mite is beside it. A mite dies with odds of 1 in 4. If the mites eat all the moss, they die out with it.

Coming to the shelf, once they have been tried in the culture lab and on the cartridge:

RED AGAINST BLUETwo colonies under the same rule, sharing one jar. Where they meet, they fight.
ROCK, PAPER, SCISSORSThree kinds, each eating the next. Left alone, they wind into spirals.
MAD SCIENCEDesign a creature of your own, release it, and see whether it survives the challenges.

The bench

Move the cursor over the jar and press fire to use the tool in hand. Push down past the floor of the jar to reach the strip of tools.

H2O WaterA drop at the cursor. It only takes near living moss. The can holds 4 drops and refills slowly.
CUT TrimClears a small square at the cursor. Hold fire and drag to cut more.
SUN LightMoves the band of light to the cursor. Hold fire and the light follows it.
HOT WarmthOne step warmer: 1, 2, 3 and round. Warmer jars run faster, up to 4 generations a second.
LID LidOn or off. With the lid on, nothing leaves the jar as a spore.
The consoleRESET pours a new jar of the same culture with the same settings. SELECT goes back to the shelf.

Time lapse

A 2600 has no memory for a picture. It draws the screen line by line, as the TV's beam crosses it, and that takes most of its time. In time lapse the jar goes dark and that time goes on the cultures instead. These are generations a second, measured on the cartridge:

CultureWatchingTime lapse
Life moss, a new jar411.8
Life moss, a crowded jarabout 2.57.0
Moss and mites1.23.2

How it fits

No processor in the cartridge32K of program in 2K slices, and 3K of extra memory on the cartridge, in a cartridge format from the 1980s. The console's own 6507, at about 1.2 MHz, works out every generation.
A jar of 2,976 cells48 across and 62 down. Both sprites draw the cells as one picture 48 dots wide, two lines to a row. The glass is the playfield, the light is the background colour, and the cursor is the ball.
Held to a rule bookA Python version of each culture is the rule book. In 26 test jars, the cartridge's jar is compared with it cell for cell after every generation, every drop and every cut.
Every frame countedThe tests run tens of thousands of frames and check that each one is exactly 262 lines, so the picture holds steady on a real TV.

Where it is up to

Agar is being built in stages, in the open. This is an early cartridge: everything listed as done works and is tested in emulators, but nobody has played it on a real console yet, and there is no sound.

  1. DONEThe picture: the jar, the glass, the light, the moss and the cursor
  2. DONELife moss grows, fades in the dark, sends out spores and has a mood
  3. DONEThe tools: water, trimming, light, warmth and the lid
  4. DONETwo kinds on screen at once
  5. DONEMoss and mites
  6. DONEThe shelf, the pour, run lengths and time lapse
  7. LATERRock, paper, scissors
  8. LATERMad science: build a creature, release it, and the challenges
  9. LATERSound, a title screen and the manual

Download

Standing on giants

THE GAME OF LIFEJohn Horton Conway devised it in 1970, and Martin Gardner brought it to the world in his Mathematical Games column in Scientific American that October. Life moss is his rule, with light added.
HUNTERS AND HUNTEDAlfred Lotka and Vito Volterra wrote down the sums for predators and their prey in the 1920s. Moss and mites is a rough, playful cousin of their equations, not a model of them.