Conway's Garden source code View raw source. pico-8 cartridge // http://www.pico-8.com version 41 __lua__ --conway's garden --for tweet tweet jam 4 --◆caoimhe◆ --oakreef.ie b,k=btn,8192::s::for a=0,k-1 do poke(a+k*3,(rnd(4)))end x=60 y=x::_:: if(b(5))goto s for a=0,k do n=0 for i=0,8 do n+=peek(k*3+a+i/3+i%3*64-65)end poke(a,n==9 and 3 or n==12 and peek(a))end memcpy(k*3,0,k)print('웃',x,y,9) if(b(0))x-=1 if(b(1))x+=1 if(b(2))y-=1 if(b(3))y+=1 goto _ __label__ 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000003030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000300030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000003000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000303000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000030003000000000000000000000000000000000000000000000003030000000000000000000000000000000000000000000000000 00000000000000000000000000000000003030300000000000000000000000000000000000303030300000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000030003000003000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000300030303000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000030300000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00300000000000000000000000000000000000000000000000000000000000000000000000000000000000300000000000300000000000000000000000000030 00000030000000000000000000000000000000000000000000000000000000000000000000000000000030300000000000300000000000000000000000000030 00000030000000000000000000000000000000000000000000000000000000000000000000000000003030300000000000300000000000000000000000000030 00000030000000000000000000000000000000000000000000000000000000000000000000000000000000000000003030000000000000000000000000000000 30003000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000003030003000000000000000000000000000000030 00000030000000000000000000000000000000000000000000000000000000000000000000000000000000003030303000000000000000003000000000000000 30303000000000000000000000000000000000000000000000000000000000000000000000000000000000000030303030000000000000300030000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000300000000000300030000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000303000003000000000003000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000303030003030300000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030300000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030300000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003030000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000030000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000303000000000 00000000000000000000000000000000000000000000000000000000000000000000000030300000000000000000000000000000000000000000303000000000 00000000000000000000000000000000000000000000000000000000000000000000000030300000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000030303000000000000000000000000000000000000000000000303000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000030000030000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000303000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000999000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000999000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000009999900000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000999000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000909000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000030303000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000303030300000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000300000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000030300030000000000000000000000000000000000000 00000000000000000000000000000030300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000030300000000000000000300000000000000000000000000000000000003000003000000000000000000000000000000000 00000000000000000000000000000000000000000000000030003000000000000000000030000000000000003000003000000000000000000000000000000000 00000000000000000000000000000000000000000000000030003000000000000000003000300000003030300030300000000000000000000000000000000000 00000000000000000000000000000000000000000000000000300000000000000000000030300000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000030300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000030300000000000000000000000000000000000000030000000000000003030000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000003000300000000000003030000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000300000000030000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000003030000000000000000000000000003000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000003030003030000000000000000000300030000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000300000000000000000000000300030000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000303000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000030000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000303000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000303000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000303000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000