Mail Archives: djgpp/1998/12/25/15:46:54
humm..I'm a novice djgpp'er, and need some help on somethin'
i want to make a StarMap, uh, like so--
1 2 3 4 5 6 7 8 9 0
A * * * * * * * * * *
B * * * * * * * * * *
C * * # * * * * * * *
D * * * * * * * * * *
E * * * * * * * * * *
F * * * * * * * * * *
G * * * * * * * * * *
H * * * * * * # * * *
I * * * * * * * * * *
J * * * * * * * * * *
This is a game i want to make, i want to have it so that ppl can
move a ship from
say C3 to H7 but, how do i make a thing to calculate distance, and
maybe even a path?
say the distance would be 5, and the path would be C3-D4-E5-F6-G7-H7, so,
please help
on this one..all help is deeply apreciated..
- Raw text -