[comp.sys.mac.programmer] Finding distances on hex maps

jtgorman@cs.arizona.edu (J. Taggart Gorman) (11/15/90)

   I have always wanted to code a few of my favorite war games on my
Mac, but the code for finding the distance between two hexes has always
eluded me.  I *want* hex maps, because that's what the games are played
on and I also feel that using squares does not represent life to well,
but then again, neither do hexes, really, but they're close enough for
me.
  Suggestions anyone?  Thanks in advance!

|     John Taggart Gorman Jr.    | "I'm a no rust build up man myself."
|                                |          -Christian Slater
| jtgorman@caslon.cs.arizona.edu |             in 'Heathers'

jtgorman@cs.arizona.edu (J. Taggart Gorman) (11/15/90)

  Arrrrrrrrrrrrrrrrrrrrrrrrrrrgggggggggggggggggghhhhhhhhhhhhhhhhh!!!!!

  Someone sent me the info I requested and I accidently deleted the maessage
before I read it!!!!!  I managed to keep the mail James T. Tanis, but the
other person who replied, bless your soul, please mail it to me again.
  Please?  I'll be more careful next time, honest!!!

|     John Taggart Gorman Jr.    | "I'm a no rust build up man myself."
|                                |          -Christian Slater
| jtgorman@caslon.cs.arizona.edu |             in 'Heathers'

vd09+@andrew.cmu.edu (Vincent M. Del Vecchio) (11/15/90)

> Excerpts from netnews.comp.sys.mac.programmer: 15-Nov-90 Finding
> distances on hex maps J. Taggart Gorman@cs.ari (598)

>    I have always wanted to code a few of my favorite war games on my
> Mac, but the code for finding the distance between two hexes has always
> eluded me.  I *want* hex maps, because that's what the games are played
> on and I also feel that using squares does not represent life to well,
> but then again, neither do hexes, really, but they're close enough for
> me.

You want to be able to find the linear (as the crow flies) distance
between any two hexes?  I'm not sure I understood you.