Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

To find neighbours

Name: Anonymous 2011-04-12 10:28

Lets suppose that we have an array which looks like this:


#(#(O O O O)
  #(O O X O)
  #(O O O O))


How would I go about to find the neighbours of 'X
without using loads of if-else ?

Name: Anonymous 2011-04-12 10:38

>>2
You can't actually fail with Satori, simply be very late in achieving it.


I know I probably shouldn't ask you about this (as you are oh so busy with discussing real programming) but you are one of the few that probably could give me a proper answer about this.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List