CIV.EVOLUTION
OBSERVATORY
ON DEVICE
04 ULTIMA EXPERIMENTHEX / 20 × 20

Intelligence, emerging.

Evolving video game AI from scratch through evolutionary algorithms

Generation001Natural selection
Turn000 / 400
Best fitness ↗0All-time record
1×
THE LONG VIEW

Evolution, in motion.

The first generation is finding its way.

BestMeanGeneration 1
16 neural genomes04 unchanged elites10% mutation rate
MAKE IT YOURS

Observatory settings

Rendering

Your system’s reduced-motion preference is respected.

Evolution

10%

Keep your evolution

Export the complete population, worlds, history and random state. Import resumes the exact experiment, paused for inspection.

Auto-saves every 15 seconds and when you leave. Storage availability depends on your browser; exported saves are portable.

HOW IT WORKS

How strategies evolve.

Each civilization uses a small neural network to choose its actions. An evolutionary algorithm updates the networks between generations.

01

Eight worlds, sixteen civilizations

Red and Blue collect resources, produce warriors and settlers, found cities, and fight. Squares use relative movement; hex worlds use six-neighbor movement.

02

Survive. Expand. Adapt.

Resources, settlements, combat and survival earn fitness. A civilization wins by eliminating every opposing city and unit. Ultima adds slowing ruins and a bonus for founding a city on a resource.

03

The next generation

At the turn limit, or once all worlds finish, the four highest-scoring networks are kept unchanged. Twelve new networks are created from the top eight using crossover and mutation. Fitness measures performance in these matches; a higher score does not always mean a better strategy.

Look closer. Focus any world, open Insights and switch between the two civilizations to see actual neural activations, decisions and events. City influence is decorative, not extra territory or income.

Keyboard shortcuts

Space Pause / resumeN Single turnF Focus / overviewI Insights1–8 Select a world← → Previous / next? This guideEsc Close / overview

1× targets 60 simulation turns per second. Slower devices may run fewer turns, but all eight worlds keep the same rules. The simulation pauses while the tab is hidden.

Start over?

This replaces the active experiment. Export it first to keep a portable copy.