You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
onclick it begins to iterate through each
if (current block dead/inactive && has 3 live cells as neighbors)-->will be live next gen
if(current block is live && has more than 3 or less than 2 live neigbors)-->will be dead/inactive next gen
3.stays the same next gen
how to count neighbors
left(column-1),top(row-1),bottom, right(column+1),topleft(column-1&row-1),topright(column+1&row-1),bottomleft(column-1&row+1),bottomright(column+1&row+1)
No description provided.
The text was updated successfully, but these errors were encountered: