Paterson's Worms - Rules

Rules

The worm starts at some point of an infinite triangular grid. It starts moving along one of the six gridlines that meet at each point and, once it has travelled one unit of distance, it arrives at a new point. The worm then decides, based on the distribution of traversed and untraversed gridlines, what direction it will take. The directions are relative to the worm's point of view. If the worm has not encountered this exact distribution before it may leave along any untraversed gridline. From then on, if it encounters that distribution again, it must move in the same way. If there are no untraversed gridlines available, the worm dies and the simulation ends.

Read more about this topic:  Paterson's Worms

Famous quotes containing the word rules:

    You’d leave your own mother here, if the rules called for it.
    Michael Wilson (1914–1978)

    Can rules or tutors educate
    The semigod whom we await?
    He must be musical,
    Tremulous, impressional,
    Alive to gentle influence
    Of landscape and of sky
    And tender to the spirit-touch
    Of man’s or maiden’s eye.
    Ralph Waldo Emerson (1803–1882)

    There is all the difference in the world between departure from recognised rules by one who has learned to obey them, and neglect of them through want of training or want of skill or want of understanding. Before you can be eccentric you must know where the circle is.
    Ellen Terry (1847–1928)