140byt.es: Tetris in 140 Bytes

140byt.es is a tweet-sized, fork-to-play, community-curated collection of JavaScript

Play binary tetris or watch the source code:

function(a,b,c,d,e){return d+=c,
     e=a|b<<d,d<0|a&b<<d&&(a=e=
     parseInt((a|b<<c).toString(d=32)
     .replace(/v/,""),d),b=new Date%2?1:3),
     [a,b,d,e]}

[ link ] [ twitter ]

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s