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:

    Those rules of old discovered, not devised,
    Are Nature sill, but Nature methodized;
    Nature, like liberty, is but restrained
    By the same laws which first herself ordained.
    Alexander Pope (1688–1744)

    Each person calls barbarism whatever is not his or her own practice.... We may call Cannibals barbarians, in respect to the rules of reason, but not in respect to ourselves, who surpass them in every kind of barbarity.
    Michel de Montaigne (1533–1592)

    For 350 years we have been taught that reading maketh a full man, conference a ready man and writing an exact man. Football’s place is to add a patina of character, a deference to the rules and a respect for authority.
    Walter Wellesley (Red)