Conway's Game of life Border Cells

后端 未结 0 1847
孤街浪徒
孤街浪徒 2021-02-07 13:42

I want to make function that makes a list with the no. of neighbors for every cell in a state,

I take the opposite border cells as neighbors to each other so 2 in [2,0,1]

相关标签:
回答
  • 消灭零回复
提交回复
热议问题