This example project demonstrates how to create a maze that has an enemy with "artificial intelligence". Use the arrow keys to move Scratch Cat around and collect all of the apples. Scratch cat cannot move through black walls. The dragon will move towards Scratch Cat (with some randomness), but cannot move through gray walls.