Box Zero

Rule = "NS" (the box can only move North or South)

Box One

Rule = "EW" (the box can only move East or West)

Box Two

Rule = "S" (the box can only move South)

Box Three

Rule = "NeSe" (the box can only move North-east or South-east)

Box Four

Rule = "*{1}" (the box can only move in any direction, but one block at a time)

Box Five

Rule = "W,S" (the box can only move in pairs of: West, then South)

Box Six

Rule = "NS,$" (the box can only move in pairs of: North or South, then the same direction again)

Box Seven

Rule = "S{1}|W{2}" (the box can move one block South, or two blocks West)

Box Eight

Rule = "*" (the box can move freely)

Box Nine

Rule = "T:1/2" (the box can move like a knight in chess)

Box Ten

Rule = "*{0}" (the box cannot move anywhere)

Box Eleven

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.