I have since uploaded examples of both the dirt logic and a rudimentary enemy AI here, to give you an idea of what you would be workiing with.
/embed/3873821