Adapting to damage
Break a Leg
Break a walking robot's leg. It doesn't know what went wrong, but it knows thousands of ways to walk.
About 2 minutes. Press Escape to leave at any point.

The idea
Most learning systems search for one best answer. That works until the world changes, and then the best answer is the only one you have.
This robot did something different before it was ever hurt. It spent its practice time collecting thousands of good ways to walk that are different from each other: some lean on the left legs, some barely use the middle ones. The result is a map of what its body can do.
When a leg breaks, it treats that map as a set of guesses. It tries the most promising walk. If that goes badly, it lowers its hopes for every similar walk and jumps somewhere else. A few tries are usually enough.
What to look for
- Nobody tells it which leg is gone
- It only measures how fast it's moving. It finds a walk that works without a diagnosis.
- One failure teaches it about many walks
- On the map, a patch goes dark after a bad try, because walks that use the legs the same way are likely to fail too.
- Different injuries, different walks
- Repair it and break another leg. It usually settles somewhere else on the map.
- There are limits
- Break three or four legs. Variety only helps if something in the map still fits.

