I'm trying to program Conway's game of life on Python, without using classes or the self. thing. I'm really new to curses, and I want to make a condition like:
if screen[y][x] == '*':
neighbour_count+=1
Where y and x are the coordinates on the screen and I check to see how many neighbours a cell has. I keep getting 'object not suscriptable', and I really don't know how to make that condition work.