Rule = "NS"
(the box can only move North or South)
Rule = "EW"
(the box can only move East or West)
Rule = "S"
(the box can only move South)
Rule = "NeSe"
(the box can only move North-east or South-east)
Rule = "*{1}"
(the box can only move in any direction,
but one block at a time)
Rule = "W,S"
(the box can only move in pairs of: West, then South)
Rule = "NS,$"
(the box can only move in pairs of:
North or South, then the same direction again)
Rule = "S{1}|W{2}"
(the box can move one block South,
or two blocks West)
Rule = "*"
(the box can move freely)
Rule = "T:1/2"
(the box can move like a knight in chess)
Rule = "*{0}"
(the box cannot move anywhere)
Rule = "*{2}"
(the box can move in any direction,
up to two blocks at a time)
This demo shows the rules engine in action. Each of the boxes has a simple rule defined for it, illustrated and explained in the box.