This generates a 'simply connected' maze. There are no loops, closed circuits or inaccessible areas. It has exactly one solution.
First, a 'shoot' moves randomly to any empty neighbor cells, creating a path.
When it can no longer continue, it is removed and placed on a randomly selected part of the path, where the process begins again.
Play Sim View Stage