How do i make an ai? from looking at the spooky maze code it doesn't look that complicated...