Try it in your browser
Interactive demos
New browser adaptations of earlier projects. Play a round, change a parameter, or step through the algorithm.
Pacman AI ↗
Watch the AI collect pellets, dodge ghosts, and turn the chase around with a power pellet. Or take control yourself.
Evolving cars ↗
Twenty-four cars. One stretch of hills. Which traits survive the next generation?
Poison ↗
Three cauldrons, a handful of cards, and a reason to stop before thirteen.
Tic-tac-toe ↗
Play against minimax. See why it chooses a square.
Battlefield ↗
Build two armies, then move archers, cavalry, and spearmen across the field.
Dou Shou Qi ↗
Eight animal ranks. Two rivers. One den to reach.
Sorting, in motion ↗
Follow each comparison and swap in quicksort, heapsort, and bubble sort.
Shortest paths ↗
Trace Dijkstra from one node, or watch Floyd–Warshall build every shortest distance.
Ocean ecosystem ↗
Add life and watch a food chain change.