From: "David A. Black" Date: 2004-09-23T10:43:01+09:00 Subject: Re: Newbie: Case statement Hi -- On Thu, 23 Sep 2004, Graham Foster wrote: > So my underlying question is:- what's the fastest Ruby for checking > which of the 8 possible adjacent cells on a board (2D array) are > still "on the board" I'm not sure about fastest, but in case you collect implementations and want to test them, I've got one from a networked Boggle game I wrote a while back -- see . I haven't looked at this in a while and I don't know how much of it I'd change if I were rewriting it now, but anyway, in case you're interested, there it is. David -- David A. Black dblack@wobblini.net