Skip to content

jayrbolton/langtonsant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

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

About

Langton's Ant implemented in Python and OpenGL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages