Move with the arrows and watch the red guy follow you! Press space to attack and enter the second room. Try moving to the left and having the red guy hit his head on the upside down L; you'll find that he'll turn around and try again!
MASSIVE credit to JamesOuO for the original AI, I just added a little bit of programming. Please don't like this without looking at the original AI down here. | | v