basic blind AI

Hello everyone.

This is my first time to share some newbie’s code. :stuck_out_tongue:
I am working on AI.
You can see my source below .

I use 3 collision segments.
two collisions represent to Ralph’s hands to feel about the way he should go.
The 3rd collision is point to the another way when Ralph meet a dead end.

You can create a new own wall and load it to my application.
(But you must names it as ‘wall’.)

Hope this will help some newbies like me. ( ^ o^)

Thanks Thaumaturge and David from this thread.