Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
A jam submission

Conway's Game of Life TweetCartView game page

Conways game of life in a single tweet
Submitted by stephan_gfx (@stephan_gfx) — 8 hours, 4 seconds before the deadline
Add to collection

Play game

Conway's Game of Life TweetCart's itch.io page

How 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. :)

Developer

So cool, thanks for taking a look!