Dynamic maze with simple AI navigation

maze is dynamically generated from the text file,

  • 1 for regular tile
  • 2 for start tile
  • 3 for finish tile

I used an OOP approach except i didn’t bother using classes, just general MovieClip prototypes.

The AI i used simply makes the character turn in the same direction all of the time. I put an extra couple of lines in the source that allow to change which direction the character turns in.

Hope you like it :thumb:
Check it: