[comp.lang.pascal] Obstacle Course Algorithms

rgates@oregon.uoregon.edu (Rick Gates) (08/03/89)

I'm having a hard time coming up with an algorithm to make an object reach
a target spot on the screen with obstacles in the way.  If X marks the spot
and O is my object:

                         |
                         |
                      O  |
                         |
                         |  X
                         |
                    ------

..gives me trouble, and:

                    ------
                         |
                       O |  X
                         |
                    ------

..is even tougher!  I'm not complicating things by running in graphics mode,
I'm just using 25 x 80 text mode.
   Does anyone know where I might find this?  I suspect these algorithms exist,
as I've been munched more than once by various arcade beasties.  I'm willing to
roll up my sleves and flounder at the local library, I'd just like a few leads
to start with.

	Thanks to all in Netland!

				Rick Gates