Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!julius.cs.uiuc.edu!wuarchive!udel!rochester!pt.cs.cmu.edu!o.gp.cs.cmu.edu!andrew.cmu.edu!vd09+ From: vd09+@andrew.cmu.edu (Vincent M. Del Vecchio) Newsgroups: comp.sys.mac.programmer Subject: Re: Finding distances on hex maps Message-ID: Date: 15 Nov 90 15:48:37 GMT References: <533@caslon.cs.arizona.edu> Organization: Carnegie Mellon, Pittsburgh, PA Lines: 12 In-Reply-To: <533@caslon.cs.arizona.edu> > 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.