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-13 9:55

>>23
Yeah, I skimmed through the code, I did my "implementation" in the same raw way that you did. Conway's Game of Life is actually what I'm implementing right now so how nice of you to show me your source!

I have one single question:
What the hell is up with the whole [game (next-generation game)] ?
I'm talking about [ and the other one, what are they doing there?

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