Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 351 Bytes

readme.md

File metadata and controls

20 lines (11 loc) · 351 Bytes

Langton's Ant in Python

Runs on: python 2.x. Depends on: pyglet.

Usage

python langton.py

Then click anywhere in the grid to spawn an ant.

If you want to specify the size in pixels of the cells, add the argument:

python langton.py 20

for a grid of 20x20 pixel cells (default is 10)

Todo

  • suggestions?
  • don't redraw grid every turn