Implementing Langton’s Ant in Java with a Swing UI

Langton’s ant is a two-dimensional universal Turing machine with a very simple set of rules but complex emergent behavior. Langton’s Ant was invented by Chris Langton in 1986 and runs on a square lattice of black and white cells. In that tutorial, you are going to learn how to implement Langton’s Ant in Java with a Swing User Interface.