Skip to content

Kalaitzo/Langtons-Ant

Repository files navigation

Langtons_Ant

Different patterns of Langton's Ant using python.

1st code -> Pattern RLLLLLLRRLRR 2nd code -> Pattern RRLLLRLLLRRR 3rd code -> Pattern L1L2NUL2L1R2 4th code -> Pattern LR 5th code -> Pattern RLLR

R -> Right (90 deg clockwise) R1 -> Right (60 deg clockwise) R2 -> Right (120 deg clockwise) L -> Left (90 deg counter-clockwise) L1 -> Left (60 deg counter-clockwise) L2 -> Left (120 deg counter-clockwise) N -> No change (0 deg) U -> Turn (180 deg)

About

Different patterns of Langton's Ant

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages