Play game
Conway's Game of Life TweetCart's itch.io pageHow many characters did you use?
278
Include your code here, if you'd like to show it off!
t=64q,d,z,v,m=band,8192,11,128,memcpy::_::m(0,d*3,d)b=btn()t+=q(b,2)/2-q(b,1)circ(t,64,4,z)for x=0,v do
for y=0,v do
if z!=pget(x,y)then
n=0
for i=x-1,x+1 do
for j=y-1,y+1 do
l=pget(i,j)n+=l/3+z*flr(l/z)end
end
sset(x,y,(n>9or n==2or n==3)and 3or 0)end
end
end
m(d*3,0,d)goto _
Leave a comment
Log in with itch.io to leave a comment.
Comments
Neat toy! I included it in my TweetTweetJam 2 compilation video series, if you’d like to take a look. :)
So cool, thanks for taking a look!