An open-source implementation of Langton's Ant using Python and pygame.
This is a slightly modified version of Langton's Ant. The difference is that the ant is confined to a "box" (the screen). This causes different behavior than the infinite "highway" that you would normally see.
- Python 2.7
- pygame 1.9.1
python ant.py