Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Shortest Path Algorithm in (Turbo)Pascal?
#9
I have ye olde text mode 80*25 ASCII thingy, and want to be able to determine a straight line between two points, say, I have the player: "@", and a rat, "r".

Code:
........r.
..........
..........
...@......
..........

Now, if the player shoots an arrow at the rat, I want to be able to determine how it gets there...[/code]
In a race between a rock and a pig, don't varnish your clams." -- "Dilbert"
Reply


Messages In This Thread
Shortest Path Algorithm in (Turbo)Pascal? - by aardvark - 07-01-2003, 08:55 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)