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:

    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)

    There is no country in which so absolute a homage is paid to wealth. In America there is a touch of shame when a man exhibits the evidences of large property, as if after all it needed apology. But the Englishman has pure pride in his wealth, and esteems it a final certificate. A coarse logic rules throughout all English souls: if you have merit, can you not show it by your good clothes and coach and horses?
    Ralph Waldo Emerson (1803–1882)

    There are different rules for reading, for thinking, and for talking. Writing blends all three of them.
    Mason Cooley (b. 1927)