Skip to content

zforster/langtons-ant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Langton's Ant

Rules:

  • There exists a grid world of an arbitrary width and height
  • An ant can be spawned in any one of these grids on the world
  • Grid positions are either black or white (1 or 0) in the array
  • At a 0 grid, turn 90° right, change the grid to a 1 and move forward 1 position
  • At a 1 grid, turn 90° left, change the grid to a 1 and move forward 1 position

Screenshot

screen shot 2018-05-20 at 22 13 26

About

Object-orientated Langton's Ant simulation created using Python 3 and Pygame.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages