← Math Hub

禅蚁

ZenLangton
Time: 0:00 Edits: 0
Board after the ant ran
Click cells to flip ↔. Find the original board that, run forward, produces what you see now.
▲ orange = where the ant ended. Start is hidden.
Langton's Ant rules
Each step, the ant looks at its current cell:
White → turn right ↻, flip to black, move forward.
Black → turn left ↺, flip to white, move forward.
Important: when the ant arrives at its final cell, it has NOT yet flipped or turned on that cell — those actions belong to the next step. The arrow shows where the ant is sitting and which way it's facing. The cell BEHIND the arrow is the one that just flipped. Ant stays within the board.