Covering Maze

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

Two agents under your control have entered a shootout at a junkyard. The circles indicate zones of safety. An agent on a circle can cover for a partner running along a path of the same color.


For example, in the first maze, one agent starts at B, and the other at L. The one at L is on a tan circle, and can cover as the other agent runs along the tan path, to C. After that, if the agent on the green C covers, the other agent can take the green path from L to G. With 21 such moves, it is possible to get one agent to N, and the other to Q. One might attempt to solve such a maze using two pens to indicate where the agents are located. Patience is also recommended.

A variety of randomly generated mazes of this type is provided. They are known under several names: logic mazes, multistate mazes, color mazes, or mazes with rules. They were originally developed by Robert Abbott.


Contributed by: Ed Pegg Jr (March 2011)
Open content licensed under CC BY-NC-SA




Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.