Lines Matching refs:y
18 for y=1,h do
19 t[y] = {}
21 t[y][x]=0
31 for y=0,shape.h-1 do
33 self[top+y][left+x] = shape[y*shape.w+x+1]
40 local ym1,y,yp1,yi=self.h-1,self.h,1,self.h
45 self[y][xm1] + self[y][xp1] +
47 next[y][x] = ((sum==2) and self[y][x]) or ((sum==3) and 1) or 0
50 ym1,y,yp1,yi = y,yp1,yp1+1,yi-1
57 for y=1,self.h do
59 out=out..(((self[y][x]>0) and ALIVE) or DEAD)