Hi everyone, I'm going through the exercise of programming Conway's Game of life.
My current issue is that I have syntax that makes a lot of sense to me, and seems like it's correct other than no looping prevention, but nothing actually changes in my instance variables when I run the debug.
My current goal is to be able to add 1 to an instance variable neighbors for every tile that is alive and adjacent to the original tile being checked.
My code is as following:
If the tile that is overlapping (original tile position)+n is alive, then add 1 to Original tile Neighbors.
do this in all directions. (x+32,x-32,y+32, etc.)
Right now it's setup to only do this for the first tile, but it seems to be doing nothing.